update error messages
This commit is contained in:
parent
2d9cc811a2
commit
648d10bc99
7 changed files with 7 additions and 7 deletions
|
@ -1 +1 @@
|
|||
~
|
||||
~ # Error on line 1 col 0: Unrecognized char "~".
|
||||
|
|
|
@ -1 +1 @@
|
|||
a = 1312;
|
||||
a = 1312; # Error on line 1 col 2: Unbound variable "a".
|
||||
|
|
|
@ -1 +1 @@
|
|||
foo = 1312; # Error on line 1 col 4 : unbound variable 'foo'
|
||||
foo = 1312; # Error on line 1 col 4: Unbound variable "foo".
|
||||
|
|
|
@ -1 +1 @@
|
|||
int foo = bar; # Error on line 1 col 10: unbound variable 'bar'
|
||||
int foo = bar; # Error on line 1 col 10: Unbound variable "bar".
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
int foo;
|
||||
int bar = foo; # Warning on line 2 col 10 : unassigned variable 'foo'
|
||||
int bar = foo; # Warning on line 2 col 10: Unassigned variable "foo".
|
||||
|
|
|
@ -1 +1 @@
|
|||
int foo = true; # Error on line 1 col 10: expected int but given bool
|
||||
int foo = true; # Error on line 1 col 10: Expected int but given bool.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
int foo = 1312;
|
||||
bool bar = foo; # Error on line 2 col 11: expected bool but given int
|
||||
bool bar = foo; # Error on line 2 col 11: Expected bool but given int.
|
||||
|
|
Reference in a new issue