Skip to content
Permalink
Browse files

Make sure the EVAL doesn't show in any backtraces

  • Loading branch information...
lizmat committed Apr 9, 2019
1 parent d000a12 commit dc02335dd972d818717c1c51d9c8273e75b07ad1
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/Rakudo/Internals/Sprintf.pm6
@@ -413,7 +413,9 @@ class Rakudo::Internals::Sprintf {
$code = "$code check-no-arg(\@args);\n @parts[0]\n}";
}
say $code;
EVAL $code
EVAL($code) but role is-hidden-from-backtrace {
method is-hidden-from-backtrace(--> True) { }
}
}
else {
die "huh?"

0 comments on commit dc02335

Please sign in to comment.
You can’t perform that action at this time.