Skip to content

Commit

Permalink
Fix a wrong type constraint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Mar 13, 2013
1 parent 62817b8 commit 858cbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Stash.pm
@@ -1,5 +1,5 @@
my class Stash {
multi method at_key(Hash:D: $key is copy, :$global_fallback) is rw {
multi method at_key(Stash:D: $key is copy, :$global_fallback) is rw {
my Mu $storage := nqp::defined(nqp::getattr(self, EnumMap, '$!storage')) ??
nqp::getattr(self, EnumMap, '$!storage') !!
nqp::bindattr(self, EnumMap, '$!storage', nqp::hash());
Expand Down

0 comments on commit 858cbe2

Please sign in to comment.