Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove jvm-specific workaround.
Thanks to nqp commit 0c26f68d we don't need this workaround anymore.
  • Loading branch information
peschwa committed Sep 14, 2015
1 parent b949144 commit b3d2f2a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Perl6/Actions.nqp
Expand Up @@ -2817,12 +2817,7 @@ Compilation unit '$file' contained the following violations:
# Install PAST block so that it gets capture_lex'd correctly and also
# install it in the lexpad.
my $outer := $*W.cur_lexpad();
#?if jvm
my $clone := 1; # Workaround to unbreak NativeCall on JVM.
#?endif
#?if !jvm
my $clone := !($outer =:= $*UNIT);
#?endif
$outer[0].push(QAST::Stmt.new($block));

if $<deflongname> {
Expand Down

0 comments on commit b3d2f2a

Please sign in to comment.