Skip to content

Commit 2a10357

Browse files
committed
Fix bug in qastnode.
1 parent 3e91607 commit 2a10357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/QAST/Compiler.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ class RegexCompiler {
15881588

15891589
Chunk.void(
15901590
"$!cursor['\$!pos\'] = $!pos;\n",
1591-
$!compiler.mangle_name("") ~ " = $!cursor;\n",
1591+
$!compiler.mangle_name('') ~ " = $!cursor;\n",
15921592
$code,
15931593
$node.subtype eq 'zerowidth' ??
15941594
"if ({$node.negate ?? '' !! '!'}{$code.expr}) \{{self.fail}\}\n"

0 commit comments

Comments
 (0)