Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Escape { } in postcircumfix:<{ }> not defined message.
  • Loading branch information
colomon committed Aug 30, 2010
1 parent d9aa575 commit 2ee5725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any-list.pm
Expand Up @@ -344,7 +344,7 @@ augment class Any {
our multi method postcircumfix:<{ }>($key) { self.at_key($key) }
method at_key($key) {
fail "postcircumfix:<{ }> not defined for type {self.WHAT}"
fail "postcircumfix:<\{ \}> not defined for type {self.WHAT}"
if self.defined;
my $z = Any!butWHENCE(
{ self.defined || &infix:<=>(self, Hash.new);
Expand Down

0 comments on commit 2ee5725

Please sign in to comment.