Skip to content

Commit

Permalink
Fix classification of errors as coming from the setting
Browse files Browse the repository at this point in the history
the build system refactor changed the file name of the generated
CORE.setting file
  • Loading branch information
moritz committed Nov 16, 2013
1 parent dc3f0fb commit 5d2cbe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/Backtrace.pm
Expand Up @@ -25,7 +25,9 @@ my class Backtrace::Frame {

method is-hidden(Backtrace::Frame:D:) { $!code.?is_hidden_from_backtrace }
method is-routine(Backtrace::Frame:D:) { $!code ~~ Routine }
method is-setting(Backtrace::Frame:D:) { $!file eq 'src/gen/CORE.setting' }
method is-setting(Backtrace::Frame:D:) {
$!file.chars > 12 && $!file.substr(*-12) eq 'CORE.setting'
}
}

my class Backtrace is List {
Expand Down

0 comments on commit 5d2cbe4

Please sign in to comment.