Skip to content

Commit

Permalink
Install deserialize_ast fixup
Browse files Browse the repository at this point in the history
Fixes broken OO::Monitors
  • Loading branch information
vrurg committed Mar 5, 2020
1 parent 4e64c59 commit b5123bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core.c/Routine.pm6
Expand Up @@ -96,6 +96,9 @@ my class Routine { # declared in BOOTSTRAP
$*W.add_object_if_no_sc(&wrapper);
$*W.add_object_if_no_sc(&wrapper-fixup);
$*W.add_fixup_task(
:deserialize_ast(
QAST::Op.new(:op<call>, QAST::WVal.new(:value(&wrapper-fixup)))
),
:fixup_ast(
QAST::Op.new(:op<call>, QAST::WVal.new(:value(&wrapper-fixup)))
));
Expand Down

0 comments on commit b5123bb

Please sign in to comment.