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
Implicit return of Failure Broken in routines with native return type constraints #5727
Comments
From @zoffixznetIf we let the Failure to be implicitly returned from a sub or method <Zoffix> m: sub (--> int) { Failure.new }() Of note is that the bug does NOT happen if we *explicitly* return the Failure: <Zoffix> m: sub (--> int) { return Failure.new }() Or use a block instead of a sub: <Zoffix> m: ->--> int { Failure.new }() Currently, this bug affects core power operator on native types when <Zoffix> m: say (my int $ = 2**30) ** (my int $ = 2**30) RT#129373 may or may not be related: |
From @zoffixznetRelated Issue: rakudo/rakudo#1360 |
From @zoffixznetRelated issue: rakudo/rakudo#1571 |
Migrated from rt.perl.org#129811 (status was 'new')
Searchable as RT129811$
The text was updated successfully, but these errors were encountered: