Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow Mu, Junction etc. as a variable default.
  • Loading branch information
jnthn committed Sep 20, 2015
1 parent 0901378 commit c3ecd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Variable.pm
Expand Up @@ -40,7 +40,7 @@ multi sub trait_mod:<is>(Variable:D $v, Mu:U $is ) {
feature => "Variable trait 'is TypeObject'",
);
}
multi sub trait_mod:<is>(Variable:D $v, :$default!) {
multi sub trait_mod:<is>(Variable:D $v, Mu :$default!) {
my $var := $v.var;
my $what := $var.VAR.WHAT;

Expand Down

0 comments on commit c3ecd46

Please sign in to comment.