Skip to content

Commit 6f9397f

Browse files
committed
Convey $want down into variable compilation.
1 parent ba097e3 commit 6f9397f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vm/moar/QAST/QASTCompilerMAST.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,11 +1111,11 @@ my class MASTCompilerInstance {
11111111
];
11121112

11131113
multi method compile_node(QAST::Var $node, :$want) {
1114-
self.compile_var($node)
1114+
self.compile_var($node, :$want)
11151115
}
11161116

11171117
multi method compile_node(QAST::VarWithFallback $node, :$want) {
1118-
my $var_res := self.compile_var($node);
1118+
my $var_res := self.compile_var($node, :$want);
11191119
if $*BINDVAL || $var_res.result_kind != $MVM_reg_obj {
11201120
$var_res
11211121
}

0 commit comments

Comments
 (0)