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
Failure bound to variable, as result of if statement, sinks and throws #4460
Comments
From @skidsA newly created Failure can be prevented from sinking by assigning Expected behavior: The "bar" failure below should not throw. $ cat /tmp/foo.pm6 sub b { $ perl6 /tmp/foo.pm6 Actually thrown at: |
From @TimToadyMinimal test case: { my $f := Failure.new("bar"); } This doesn't seem to be sink related, at least not directly. It seems more to be related to the difference between storing things in a local vs in a lexical, and how those are treated on statement or return boundaries. |
1 similar comment
From @TimToadyMinimal test case: { my $f := Failure.new("bar"); } This doesn't seem to be sink related, at least not directly. It seems more to be related to the difference between storing things in a local vs in a lexical, and how those are treated on statement or return boundaries. |
From @TimToadyFixed in 091ee7507464595e7712f4ae911d95d467e5281b Tests in 8b97aa4f6191affdd91da78607eca4ae6dc73b11 |
1 similar comment
From @TimToadyFixed in 091ee7507464595e7712f4ae911d95d467e5281b Tests in 8b97aa4f6191affdd91da78607eca4ae6dc73b11 |
@TimToady - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#125769 (status was 'resolved')
Searchable as RT125769$
The text was updated successfully, but these errors were encountered: