Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S32::Exception] X::Bind::NativeType now reports name of the variable
  • Loading branch information
moritz committed Aug 21, 2012
1 parent a6e9e34 commit 1a55450
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions S32-setting-library/Exception.pod
Expand Up @@ -17,8 +17,8 @@ Authors of previous versions of this document:

Created: 26 Feb 2009

Last Modified: 17 August 2012
Version: 20
Last Modified: 21 August 2012
Version: 21

The document is a draft.

Expand Down Expand Up @@ -407,8 +407,9 @@ Thrown when trying to bind to a natively typed variable
TODO: inherit from X::Bind?

my class X::Bind::NativeType does X::Comp {
has $.name;
method message() {
'Cannot bind to a natively typed variable; use assignment instead'
"Cannot bind to natively typed variable '$.name'; use assignment instead'
}
}

Expand Down

0 comments on commit 1a55450

Please sign in to comment.