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
Typed slurpy hashes aren't supported either #3314
Comments
From mark@kli.org
> sub foo(Int *@_) { } ===SORRY!=== Error while compiling <unknown file> Slurpy positionals with type constraints are not supported. at <unknown file>:1 ------> sub foo(Int *@_⏏) { } expecting any of: formal parameter constraint
> sub foo(Int *%_) { } sub foo(Int *%_) { ... } > foo(:b(8)) Nominal type check failed for parameter '%_'; expected
|
From @jnthnOn Mon Jan 13 18:00:36 2014, mark@kli.org wrote:
It's now detected at compile time: $ perl6-m -e "sub foo(Int *%_) { }" Test coverage added for this in S06-signature/slurpy-params.t. |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#120994 (status was 'resolved')
Searchable as RT120994$
The text was updated successfully, but these errors were encountered: