Skip to content

Commit 2946c2c

Browse files
committed
hasuniprop wants to take the string, too.
1 parent 34ea61a commit 2946c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/moar/QAST/QASTRegexCompilerMAST.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ class QAST::MASTRegexCompiler {
959959
op('const_s', $pname, sval($node[0])),
960960
op('unipropcode', $pcode, $pname),
961961
op('unipvalcode', $pvcode, $pcode, $pname),
962-
op('hasuniprop', $i0, %*REG<pos>, $pcode, $pvcode),
962+
op('hasuniprop', $i0, %*REG<tgt>, %*REG<pos>, $pcode, $pvcode),
963963
op($testop, $i0, %*REG<fail>),
964964
op('inc_i', %*REG<pos>)
965965
];

0 commit comments

Comments
 (0)