Skip to content

Commit

Permalink
NO MONKEY BUSINESS!! πŸ™ˆπŸ™‰πŸ™Š
Browse files Browse the repository at this point in the history
Fixes #1386

Not adding any tests.
  • Loading branch information
zoffixznet committed Jan 11, 2018
1 parent 70c57c3 commit ac2e50c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Perl6/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,8 @@ sub monkey_see_no_eval($/) {
my $msne := $*LANG.pragma('MONKEY-SEE-NO-EVAL');
nqp::defined($msne)
?? $msne # prevails if defined, can be either 1 or 0
!! $*COMPILING_CORE_SETTING ||
try { $*W.find_symbol(['&MONKEY-SEE-NO-EVAL'])() } ||
nqp::getenvhash<RAKUDO_MONKEY_BUSINESS>;
!! $*COMPILING_CORE_SETTING
|| try { $*W.find_symbol(['&MONKEY-SEE-NO-EVAL'])() };
}

role STDActions {
Expand Down

0 comments on commit ac2e50c

Please sign in to comment.