Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make "my $a of Array of Int" work (for typechecks at lowest level)
  • Loading branch information
lizmat committed Aug 19, 2013
1 parent f0ee01d commit 2857585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Variable.pm
Expand Up @@ -69,7 +69,7 @@ multi trait_mod:<of>(Variable:D $v, Mu:U $of ) {
$var,
$what.HOW.mixin_base($what),
'$!descriptor'
).set_of(nqp::decont($of));
).set_of($of.HOW.mixin_base($of));
}

# phaser traits
Expand Down

0 comments on commit 2857585

Please sign in to comment.