Skip to content

Commit

Permalink
Make sure phaser code is also added for methods
Browse files Browse the repository at this point in the history
This makes "is DEPRECATED" work on methods
  • Loading branch information
lizmat committed Oct 7, 2013
1 parent d7aa6a8 commit d7e5e1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -2643,6 +2643,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
if $<onlystar> {
$*W.apply_trait($/, '&trait_mod:<is>', $*DECLARAND, :onlystar(1));
}
$*W.add_phasers_handling_code($code, $past);

# Install method.
if $name {
Expand Down

0 comments on commit d7e5e1d

Please sign in to comment.