Permalink
Browse files

Fix a wrong type constraint.

  • Loading branch information...
jnthn committed Mar 13, 2013
1 parent 62817b8 commit 858cbe2c975a59f132239d2d85865f36535062ca
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Stash.pm
View
@@ -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());

0 comments on commit 858cbe2

Please sign in to comment.