Skip to content

Commit

Permalink
Fix strange kind of initialization problem on Set.new<a>:exists
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Oct 23, 2013
1 parent 2ce544a commit 882e337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Setty.pm
Expand Up @@ -23,7 +23,7 @@ my role Setty does QuantHash {
} }


method new(*@args --> Setty) { method new(*@args --> Setty) {
my %e; my %e = (); # need (), otherwise Set.new<a>:exists fails
%e{$_.WHICH} = $_ for @args; %e{$_.WHICH} = $_ for @args;
self.bless(:elems(%e)); self.bless(:elems(%e));
} }
Expand Down

0 comments on commit 882e337

Please sign in to comment.