Permalink
Browse files

[Cool-str.pm] improved error reporting

There was a () missing on a .perl in an interpolation. This can
never have worked properly. Does now.
  • Loading branch information...
1 parent c548b87 commit 015d77b6bee35955d66a35f9e45e16c15c91b7b0 @masak masak committed Nov 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Cool-str.pm
View
@@ -179,7 +179,7 @@ augment class Cool {
my %c;
for (@changes) -> $p {
- die "$p.perl is not a Pair" unless $p ~~ Pair;
+ die "$p.perl() is not a Pair" unless $p ~~ Pair;
my @from = expand $p.key;
my @to = expand $p.value;
if @to {

0 comments on commit 015d77b

Please sign in to comment.