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
Assuming unknown named parameters gives an empty error message #3624
Comments
From naddiseo@gmail.comIf an unknown parameter is passed to assuming, the resulting error message Minimal testcase: Resulting output: (there is no error message, just a traceback) in sub at foo.pl:1 Interestingly, if the signature is removed, or is changed to a scalar, then sub {}.assuming(named => (True))() This is perl6 version 2014.09 built on MoarVM version 2014.09 |
From @moritzOn Thu Dec 25 13:03:47 2014, naddiseo@gmail.com wrote:
Fixed in this commit: commit 964e0ddc6dde60bc7b2d0586c813459bd7981cb1 RT #123498: Empty binding error in some cases (partial fix)
This seems to be a separate error, and can be boiled down to: sub () {}.(|{:a}) xfix++ for golfing it down. |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Thu Dec 25 14:08:04 2014, moritz wrote:
I ended up rediscovering and fixing this today while working on other issues with flattening named args. Tests passing and unfudged. /jnthn |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123498 (status was 'resolved')
Searchable as RT123498$
The text was updated successfully, but these errors were encountered: