Skip to content

Commit a6a15f4

Browse files
committed
Fix traits on protos.
1 parent 0001e13 commit a6a15f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NQPQ/Actions.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,7 @@ class NQP::Actions is HLL::Actions {
960960
my $lexpast := QAST::Op.new( :op('takeclosure'), $past );
961961
$lexpast<sink> := $past;
962962
$lexpast<block_past> := $past;
963+
$lexpast<code_obj> := $past<code_obj>;
963964
make $lexpast;
964965
if $<trait> {
965966
for $<trait> { $_.ast()($/); }

0 commit comments

Comments
 (0)