Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "Make "my $a of Array of Int" work (for typechecks at lowest l…
…evel)"

This should already work for multilevel typechecks, so we shouldn't normalize
the type to the lowest level.

This reverts commit 2857585.
  • Loading branch information
lizmat committed Aug 19, 2013
1 parent bc39ad2 commit 94b7b28
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($of.HOW.mixin_base($of));
).set_of(nqp::decont($of));
}

# phaser traits
Expand Down

0 comments on commit 94b7b28

Please sign in to comment.