Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[S32::Exception] X::Syntax::NegatedPair should report the key

  • Loading branch information...
commit bbbdb7846857f0e136cede8a1b2e7e5257ca42d3 1 parent 0d42d6c
@moritz moritz authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 S32-setting-library/Exception.pod
View
7 S32-setting-library/Exception.pod
@@ -17,8 +17,8 @@ Authors of previous versions of this document:
Created: 26 Feb 2009
- Last Modified: 4 June 2012
- Version: 12
+ Last Modified: 2 August 2012
+ Version: 13
The document is a draft.
@@ -581,7 +581,8 @@ Thrown when some piece of syntax is clearly Perl 5, not Perl 6.
Thrown when a negated pair has a value, for exaple C<:!foo($val)>.
my class X::Syntax::NegatedPair does X::Syntax {
- method message() { 'Argument not allowed on negated pair' }
+ has $.key;
+ method message() { "Argument not allowed on negated pair with keys '$.key'" }
}
=head3 X::Syntax::Variable::Numeric
Please sign in to comment.
Something went wrong with that request. Please try again.