Permalink
Browse files

Fix strange kind of initialization problem on Set.new<a>:exists

  • Loading branch information...
1 parent 2ce544a commit 882e3376c572cf34a3ffd5c82e5f4c6b0f348e17 @lizmat lizmat committed Oct 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Setty.pm
View
@@ -23,7 +23,7 @@ my role Setty does QuantHash {
}
method new(*@args --> Setty) {
- my %e;
+ my %e = (); # need (), otherwise Set.new<a>:exists fails
%e{$_.WHICH} = $_ for @args;
self.bless(:elems(%e));
}

0 comments on commit 882e337

Please sign in to comment.