Created
February 11, 2012 11:34
-
-
Save moritz/1798902 to your computer and use it in GitHub Desktop.
Rakudo backtrace - line 3 missing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0; | |
1 + 1; | |
die 'foo'; | |
CATCH { | |
default { | |
say .backtrace.full; | |
} | |
} | |
# output: | |
in method+{<anon>} throw at src/gen/CORE.setting:7140 | |
in sub+{<anon>} die at src/gen/CORE.setting:441 | |
in block <anon> at foo.pl:4 | |
in <anon> at foo.pl:1 | |
The calling location of &die is line 3, but it doesn't appear anywhere in the backtrace. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment