Permalink
Browse files

Keep List.sink from carping on type objects. Fixes RT #117923.

  • Loading branch information...
1 parent bfd8508 commit b1695cf3bb9ef32225d5862551253897f0667634 @pmichaud pmichaud committed May 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/List.pm
View
@@ -405,7 +405,7 @@ my class List does Positional {
}
method sink() {
- self.gimme(*, :sink);
+ self.gimme(*, :sink) if self.defined;
Nil;
}
}

0 comments on commit b1695cf

Please sign in to comment.