Created
June 10, 2011 10:00
-
-
Save jnthn/1018574 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/src/CORE.setting/traits.pm b/src/CORE.setting/traits.pm | |
index bb7efbe..08b17e4 100644 | |
--- a/src/CORE.setting/traits.pm | |
+++ b/src/CORE.setting/traits.pm | |
@@ -1,7 +1,7 @@ | |
use Perl6::Metamodel; | |
proto trait_mod:<is>(|$) { * } | |
-multi trait_mod:<is>(Mu:U $child, Mu:U $parent) { | |
+multi trait_mod:<is>(Mu:U \$child, Mu:U \$parent) { | |
$child.HOW.add_parent($child, $parent); | |
} | |
multi trait_mod:<is>(Attribute:D $attr, :$rw!) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment