-
-
Save gfldex/17854500ab8050a228ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
multi sub trait_mod:<is>(Routine $r, :$foo!){}; | |
multi sub trait_mod:<is>(Routine $r, :$bar!){}; | |
multi sub trait_mod:<is>(Routine $r, :$combined!){ | |
(&trait_mod:<is>)($r, :foo); | |
(&trait_mod:<is>)($r, :bar) | |
}; | |
sub target () is combined {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment