Skip to content

Commit ec8d715

Browse files
committed
[js] Fix nqp::istype_nd
1 parent 0e81fdf commit ec8d715

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
@@ -870,7 +870,7 @@ class QAST::OperationsJS {
870870
add_simple_op('can', $T_INT, [$T_OBJ, $T_STR], :side_effects, :decont(0), :ctx, :method_call, :await);
871871

872872
add_simple_op('istype', $T_INT, [$T_OBJ, $T_OBJ], :side_effects, :ctx, :decont(0, 1), :method_call, :await);
873-
add_simple_op('istype_nd', $T_INT, [$T_OBJ, $T_OBJ], :side_effects, :ctx, :method_call, :await);
873+
add_simple_op('istype_nd', $T_INT, [$T_OBJ, $T_OBJ], method_call('istype'), :side_effects, :ctx, :await);
874874

875875
add_simple_op('split', $T_OBJ, [$T_STR, $T_STR], :takes_hll);
876876

0 commit comments

Comments
 (0)