Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 1a55450cccdda179c074b7e647c7f6aa00b71d28 1 parent a6e9e34
Moritz Lenz authored August 21, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  S32-setting-library/Exception.pod
7  S32-setting-library/Exception.pod
Source Rendered
@@ -17,8 +17,8 @@ Authors of previous versions of this document:
17 17
 
18 18
     Created: 26 Feb 2009
19 19
 
20  
-    Last Modified: 17 August 2012
21  
-    Version: 20
  20
+    Last Modified: 21 August 2012
  21
+    Version: 21
22 22
 
23 23
 The document is a draft.
24 24
 
@@ -407,8 +407,9 @@ Thrown when trying to bind to a natively typed variable
407 407
 TODO: inherit from X::Bind?
408 408
 
409 409
     my class X::Bind::NativeType does X::Comp {
  410
+        has $.name;
410 411
         method message() {
411  
-            'Cannot bind to a natively typed variable; use assignment instead'
  412
+            "Cannot bind to natively typed variable '$.name'; use assignment instead'
412 413
         }
413 414
     }
414 415
 

0 notes on commit 1a55450

Please sign in to comment.
Something went wrong with that request. Please try again.