in progress removing the error target stuffs
This commit is contained in:
@ -95,7 +95,7 @@ t1 := (B:newA) ##ERROR: exception not handled - "unable to send newA to B - 'new
|
||||
|
||||
class B {
|
||||
var x
|
||||
if (x > 0) { ##ERROR: syntax error - prohibited access to instance variable - x
|
||||
if (x > 0) { ##ERROR: syntax error - prohibited access to instance variable around 'x'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ x := (10 +); ##ERROR: syntax error - no operand after binary selector
|
||||
---
|
||||
|
||||
## you can't have another colon before the method..
|
||||
(obj: :method) ##ERROR: syntax error - : disallowed
|
||||
(obj: :method) ##ERROR: syntax error - prohibited colon around ':'
|
||||
|
||||
---
|
||||
|
||||
@ -162,15 +162,15 @@ abc. := 20 ##ERROR: syntax error - blank segment after 'abc.'
|
||||
|
||||
---
|
||||
|
||||
abc.? := 20 ##ERROR: syntax error - wrong multi-segment identifier - abc.?
|
||||
abc.? := 20 ##ERROR: syntax error - wrong multi-segment identifier 'abc.?'
|
||||
|
||||
---
|
||||
|
||||
- := 20 ##ERROR: syntax error - bad lvalue - invalid identifier - -
|
||||
- := 20 ##ERROR: syntax error - bad lvalue - invalid identifier '-'
|
||||
|
||||
---
|
||||
|
||||
+++ := 20 ##ERROR: syntax error - bad lvalue - invalid identifier - +++
|
||||
+++ := 20 ##ERROR: syntax error - bad lvalue - invalid identifier '+++'
|
||||
|
||||
---
|
||||
|
||||
|
@ -58,12 +58,12 @@ class A ( + ) { ##ERROR: syntax error - not variable name '+'
|
||||
---
|
||||
|
||||
fun xxx(x :: p q) { p := (x + 1); q := (x + 2) }
|
||||
[a,[b]] := (xxx 20) ##ERROR: syntax error - bad lvalue - invalid identifier in tuple
|
||||
[a,[b]] := (xxx 20) ##ERROR: syntax error - bad lvalue - invalid token in tuple
|
||||
printf "%d %d\n" a b
|
||||
|
||||
---
|
||||
|
||||
20 := 90 ##ERROR: syntax error - bad lvalue - invalid identifier - 20
|
||||
20 := 90 ##ERROR: syntax error - bad lvalue - invalid identifier '20'
|
||||
|
||||
---
|
||||
|
||||
|
@ -62,7 +62,7 @@ fun x (... a) { ##ERROR: syntax error - unexpected token 'a' after '...' for 'fu
|
||||
|
||||
---
|
||||
|
||||
fun x (... : a) { ##ERROR: syntax error - : disallowed
|
||||
fun x (... : a) { ##ERROR: syntax error - prohibited colon around ':'
|
||||
}
|
||||
|
||||
---
|
||||
|
Reference in New Issue
Block a user