Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[S32::Exception] X::Bind::NativeType now reports name of the variable

  • Loading branch information...
commit 1a55450cccdda179c074b7e647c7f6aa00b71d28 1 parent a6e9e34
Moritz Lenz moritz authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 S32-setting-library/Exception.pod
7 S32-setting-library/Exception.pod
View
@@ -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.
@@ -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'
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.