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

* not supported for first argument of postcircumfix operators #2015

Closed
p6rt opened this issue Aug 5, 2010 · 5 comments
Closed

* not supported for first argument of postcircumfix operators #2015

p6rt opened this issue Aug 5, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Aug 5, 2010

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

Searchable as RT77000$

@p6rt
Copy link
Author

p6rt commented Aug 5, 2010

From @cognominal

([ [ 5], [3] ].sort​: *[0] ).perl
No candidates found to invoke for method 'sort' on object of type
'Array'; available candidates have signatures​:
:(Mu : &by = { ... };; *%_)

([ { :pos<5>}, { :pos<4> } ].sort​: *.<pos> ).perl
postcircumfix​:<> not defined for type Whatever()

--
cognominal stef

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

From @coke

On Wed Aug 04 18​:16​:38 2010, cognominal wrote​:

([ [ 5], [3] ].sort​: *[0] ).perl
No candidates found to invoke for method 'sort' on object of type
'Array'; available candidates have signatures​:
:(Mu : &by = { ... };; *%_)

([ { :pos<5>}, { :pos<4> } ].sort​: *.<pos> ).perl
postcircumfix​:<> not defined for type Whatever()

Fixed​:

19​:59 < [Coke]> rakudo​: ([ [ 5], [3] ].sort​: *[0] ).perl.say
19​:59 <+p6eval> rakudo 38907e​: OUTPUT«([3], [5])␤»
19​:59 < [Coke]> rakudo​: ([ { :pos<5>}, { :pos<4> } ].sort​: *.<pos> ).perl.say
19​:59 <+p6eval> rakudo 38907e​: OUTPUT«({"pos" => "4"}, {"pos" => "5"})␤»

Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 20, 2011

From @moritz

Now tested in t/spec/S02-types/whatever.t

@p6rt
Copy link
Author

p6rt commented Oct 20, 2011

@moritz - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant