Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mark is rw generated methods with rw flag.
  • Loading branch information
jnthn committed Mar 9, 2016
1 parent 4a0ba74 commit d2e31e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Perl6/World.nqp
Expand Up @@ -2737,7 +2737,9 @@ class Perl6::World is HLL::World {
$!acc_sig_cache_type := $package_type;
}

return $!w.create_code_object($block, 'Method', $sig);
my $code := $!w.create_code_object($block, 'Method', $sig);
$code.set_rw() if $rw;
return $code;
}
}
method get_compiler_services() {
Expand Down

0 comments on commit d2e31e8

Please sign in to comment.