Permalink
Browse files

Better fix for #122028

  • Loading branch information...
lizmat committed Aug 16, 2014
1 parent 5bb3a03 commit d0bf8a2457c40c1ba442200a931bea0255fa2236
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Any.pm
View
@@ -130,7 +130,7 @@ my class Any { # declared in BOOTSTRAP
# auto-vivifying
proto method push(|) { * }
multi method push(Any:U \SELF: *@values) {
SELF = SELF.WHAT.new;
SELF = SELF ~~ Positional ?? SELF.new !! Array.new;
SELF.push(@values);
}

0 comments on commit d0bf8a2

Please sign in to comment.