12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
|
ANNOTATED PROGRAM:
|
||
|
local x : string = "hello"
|
||
|
local y : string = 37.0
|
||
|
return x .. y
|
||
|
|
||
|
RUNTIME ERROR:
|
||
|
value 37.0 is not a string
|
||
|
in return statement
|
||
|
|
||
|
TYPE ERROR:
|
||
|
Local variable y has type string but expression has type number
|