Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyper multidim subscript doesn't meet postcircumfix:<[; ]> API #4650

Closed
p6rt opened this issue Oct 16, 2015 · 4 comments
Closed

hyper multidim subscript doesn't meet postcircumfix:<[; ]> API #4650

p6rt opened this issue Oct 16, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 16, 2015

Migrated from rt.perl.org#126370 (status was 'resolved')

Searchable as RT126370$

@p6rt
Copy link
Author

p6rt commented Oct 16, 2015

From @TimToady

18​:17 <TimToady> m​: say [[2, [3,4]], [4, [5, 6]]]».[1]».[1]
18​:17 <camelia> rakudo-moar 271e84​: OUTPUT«(4 6)␤»
18​:18 <TimToady> m​: say [[2, [3,4]], [4, [5, 6]]]».[1;1]
18​:18 <camelia> rakudo-moar 271e84​: OUTPUT«Cannot call postcircumfix​:<[;
]>(Array, Int, Int); none of these signatures match​:␤ (\SELF,
  @​indices)␤ (\SELF, @​indices, :$exists!)␤ (\SELF,
@​indices, :$delete!)␤ (\SELF, @​indices, :$BIND! is rw)␤ in block
  <unit> at /tmp/09M2eEBp8Z​:1…»

This might be related​:

18​:22 <TimToady> m​: say [[2, [3,4]], [4, [5, 6]]].map​: *.[1;1]
18​:22 <camelia> rakudo-moar 271e84​: OUTPUT«Earlier failures​:␤ Index out of
range. Is​: 1, should be in 0..0␤ in block <unit> at
  /tmp/s1pOCoXHdJ​:1␤␤Final error​:␤ Cannot call map(Array​:
Failure); none of these signatures match​:␤ (\SELF​: █;
  :$label, :$item, *%_)␤ (HyperIterab…»

@p6rt
Copy link
Author

p6rt commented Oct 16, 2015

From @TimToady

Fixed with 23248109c9c93db2774fcc9ce0c849a73a01fdad
Tested with f8c0844fbffeac6022603cda8bfbc4f1f35e9a57

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 16, 2015

From @TimToady

Fixed with 23248109c9c93db2774fcc9ce0c849a73a01fdad
Tested with f8c0844fbffeac6022603cda8bfbc4f1f35e9a57

@p6rt
Copy link
Author

p6rt commented Oct 16, 2015

@TimToady - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Oct 16, 2015
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant