aboutsummaryrefslogtreecommitdiff
path: root/examples/typedlua/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/typedlua/test.lua')
-rwxr-xr-xexamples/typedlua/test.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/typedlua/test.lua b/examples/typedlua/test.lua
index aa78856..4e173b9 100755
--- a/examples/typedlua/test.lua
+++ b/examples/typedlua/test.lua
@@ -1813,7 +1813,7 @@ concat2 = 2^3..1
1813test.lua:1:15: syntax error, unexpected '.1', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', ',', 'or', 'and', '>', '<', '>=', '<=', '==', '~=', '|', '~', '&', '>>', '<<', '..', '-', '+', '%', '/', '//', '*', '^' 1813test.lua:1:15: syntax error, unexpected '.1', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', ',', 'or', 'and', '>', '<', '>=', '<=', '==', '~=', '|', '~', '&', '>>', '<<', '..', '-', '+', '%', '/', '//', '*', '^'
1814]=] 1814]=]
1815e = [=[ 1815e = [=[
1816test.lua:1:15: unexpected '.1', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', ',', 'or', 'and', '>', '<', '>=', '<=', '==', '~=', '|', '~', '&', '>>', '<<', '..', '-', '+', '%', '/', '//', '*', '^' 1816test.lua:1:13: malformed <number>
1817]=] 1817]=]
1818 1818
1819r, m = parse(s) 1819r, m = parse(s)
@@ -1926,7 +1926,7 @@ goto label
1926test.lua:2:1: syntax error, unexpected 'goto', expecting ';', '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' 1926test.lua:2:1: syntax error, unexpected 'goto', expecting ';', '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not'
1927]=] 1927]=]
1928e = [=[ 1928e = [=[
1929test.lua:2:1: unexpected 'goto', expecting ';', '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' 1929test.lua:2:1: invalid statement after 'return'
1930]=] 1930]=]
1931 1931
1932r, m = parse(s) 1932r, m = parse(s)
@@ -2106,7 +2106,7 @@ return 1,1-2*3+4,"alo";
2106test.lua:2:1: syntax error, unexpected 'return', expecting ';', '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' 2106test.lua:2:1: syntax error, unexpected 'return', expecting ';', '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not'
2107]=] 2107]=]
2108e = [=[ 2108e = [=[
2109test.lua:2:1: unexpected 'return', expecting ';', '(', 'Name', '{', 'function', '...', 'true', 'false', 'nil', 'String', 'Number', '#', '~', '-', 'not' 2109test.lua:2:1: invalid statement
2110]=] 2110]=]
2111 2111
2112r, m = parse(s) 2112r, m = parse(s)
@@ -2193,7 +2193,7 @@ x = ...:any
2193test.lua:1:8: syntax error, unexpected ':', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', ',', 'or', 'and', '>', '<', '>=', '<=', '==', '~=', '|', '~', '&', '>>', '<<', '..', '-', '+', '%', '/', '//', '*', '^' 2193test.lua:1:8: syntax error, unexpected ':', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', ',', 'or', 'and', '>', '<', '>=', '<=', '==', '~=', '|', '~', '&', '>>', '<<', '..', '-', '+', '%', '/', '//', '*', '^'
2194]=] 2194]=]
2195e = [=[ 2195e = [=[
2196test.lua:1:8: unexpected ':', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', ',', 'or', 'and', '>', '<', '>=', '<=', '==', '~=', '|', '~', '&', '>>', '<<', '..', '-', '+', '%', '/', '//', '*', '^' 2196test.lua:1:8: invalid statement
2197]=] 2197]=]
2198 2198
2199r, m = parse(s) 2199r, m = parse(s)
@@ -2232,7 +2232,7 @@ local x:number*
2232test.lua:1:15: syntax error, unexpected '*', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', '=', ',', '?', '|' 2232test.lua:1:15: syntax error, unexpected '*', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', '=', ',', '?', '|'
2233]=] 2233]=]
2234e = [=[ 2234e = [=[
2235test.lua:1:15: unexpected '*', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', '=', ',', '?', '|' 2235test.lua:1:15: invalid local declaration
2236]=] 2236]=]
2237 2237
2238r, m = parse(s) 2238r, m = parse(s)
@@ -2258,7 +2258,7 @@ local x:number?|string?
2258test.lua:1:16: syntax error, unexpected '|', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', '=', ',' 2258test.lua:1:16: syntax error, unexpected '|', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', '=', ','
2259]=] 2259]=]
2260e = [=[ 2260e = [=[
2261test.lua:1:16: unexpected '|', expecting 'return', '(', 'Name', 'typealias', 'interface', 'goto', 'break', '::', 'local', 'function', 'const', 'repeat', 'for', 'do', 'while', 'if', ';', '=', ',' 2261test.lua:1:16: invalid local declaration
2262]=] 2262]=]
2263 2263
2264r, m = parse(s) 2264r, m = parse(s)