Skip to content

Commit ac03bc6

Browse files
committed
[js] Remove workaround for fixed bug
1 parent 17e1a13 commit ac03bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/Operations.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ class QAST::OperationsJS {
13291329
my str $neg := ($op eq 'while' || $op eq 'repeat_while') ?? '!' !! '';
13301330

13311331
# With perl6 we always emit all handlers
1332-
my $has_redo := $*HLL ne 'nqp' || $loop.has_redo || $repeat_variant; # we don't use 'my int' due to NQP bug
1332+
my int $has_redo := $*HLL ne 'nqp' || $loop.has_redo || $repeat_variant;
13331333

13341334
Chunk.void(
13351335
$repeat_variant ?? "{$loop.redo} = true;\n" !! '',

0 commit comments

Comments
 (0)