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
Weird error for code parameters with subsignatures in Rakudo #3575
Comments
From @masak<masak> m: class Dog {}; sub foo(&block (Dog --> Bool)) { say "OH HAI" I am not 100% sure the `&block (Dog --> Bool)` form should work, or is |
From @masakmasak (>):
<TimToady> at one point we required a : because of the ambiguity with sublists of parameters, but we already have a whitespace dep with @foo[3,3] vs @foo [$x,$y,$z], so having one for () is probably not terrible |
From @hoelzroOn Sun Dec 07 07:41:52 2014, masak wrote:
This bug has largely been resolved; closure parameters now parse correctly and work, except when used to decide between different multi candidates. |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielYeah. It was resolved here I think: (2014-12-08) rakudo/rakudo@fbc87d2 「testneeded」 On 2014-12-09 04:54:08, rob@hoelz.ro wrote:
|
From @zoffixznetOn Sat, 02 Dec 2017 05:19:45 -0800, alex.jakimenko@gmail.com wrote:
The form with space wasn't implemented. It is now: rakudo/rakudo@c0f99a393b |
@zoffixznet - Status changed from 'open' to 'resolved' |
From @zoffixznetOn Mon, 11 Dec 2017 20:30:18 -0800, cpan@zoffix.com wrote:
Never mind. Decided to revert that form ( rakudo/rakudo@2f955d55e3 ) The `:()` form is actually a Signature literal appended to the parameter, which is Adding slightly different syntax to do the same didn't feel right (since with Positionals, it means calling .Capture, while here it don't) |
Migrated from rt.perl.org#123116 (status was 'resolved')
Searchable as RT123116$
The text was updated successfully, but these errors were encountered: