Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created June 10, 2011 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/1018574 to your computer and use it in GitHub Desktop.
Save jnthn/1018574 to your computer and use it in GitHub Desktop.
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