Skip to content

Commit

Permalink
[Cool-str.pm] improved error reporting
Browse files Browse the repository at this point in the history
There was a () missing on a .perl in an interpolation. This can
never have worked properly. Does now.
  • Loading branch information
Carl Masak committed Nov 13, 2010
1 parent c548b87 commit 015d77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Cool-str.pm
Expand Up @@ -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 {
Expand Down

0 comments on commit 015d77b

Please sign in to comment.