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
Return in block doesn't see outside return signature #6047
Comments
From @lizmat<lizmat> m: sub a(--> 42) { { return } }; dd a # expected 42 |
From @zoffixznetNo idea if there's any relation between the two, but there's also this ticket where a return type constraint set to Nil on a sub affects interpolation of a code block in a string inside that sub; almost as if the constraint propagated to it: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=129874#ticket-history |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#130706 (status was 'open')
Searchable as RT130706$
The text was updated successfully, but these errors were encountered: