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
primed function (partial applied), fails type check and mentions being "CURRIED" not partially applied or "primed" #3705
Comments
From the.ashleydev+rt.cpan.org@gmail.com(11:01) < TimToady> m: sub same'proto(::T, T $a, T $b) { $a.WHAT === $b.WHAT }; my &infix:<same-in-Int> = &same'proto.assuming(Int); say 42 same-in-Int "42" |
From the.ashleydev+rt.cpan.org@gmail.comNote the typecheck is is correct -- it's just the error message mentioning curry that's incorrect. |
From @skidsThe current error message is now: $ perl6 -e 'sub same'"'"'proto(::T, T $a, T $b) { $a.WHAT === $b.WHAT }; my &infix:<same-in-Int> = &same'"'"'proto.assuming(Int); say 42 same-in-Int "42"' I believe that will be satisfactory? I have added a test to perl6 S06-currying/misc.t. So this ticket may now be closeable, I think. |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6Reading through the ticket and the mentioned IRC logs, the current error message looks good to me. I'm closing this ticket as 'resolved'. Please reopen if the backtrace isn't awesome enough. |
1 similar comment
From @usev6Reading through the ticket and the mentioned IRC logs, the current error message looks good to me. I'm closing this ticket as 'resolved'. Please reopen if the backtrace isn't awesome enough. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123938 (status was 'resolved')
Searchable as RT123938$
The text was updated successfully, but these errors were encountered: