Skip to content

Commit fff73cf

Browse files
committed
Need to use savecapture when calling MMD dispatcher for reentrancy on JVM
1 parent c9738ae commit fff73cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NQP/Actions.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ class NQP::Actions is HLL::Actions {
10291029
QAST::Op.new(
10301030
:op('callmethod'), :name('dispatch'),
10311031
QAST::Op.new( :op('getcodeobj'), QAST::Op.new( :op('curcode') ) ),
1032-
QAST::Op.new( :op('usecapture') )
1032+
QAST::Op.new( :op('savecapture') )
10331033
)
10341034
),
10351035
QAST::Op.new( :op('usecapture') )

0 commit comments

Comments
 (0)