mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
LuaFunction cleanup: replace by LuaCall
This commit is contained in:
parent
85d17e9519
commit
51ad18c5a4
22 changed files with 192 additions and 162 deletions
|
|
@ -5,7 +5,7 @@
|
|||
--- text ---
|
||||
| {}"" {}"42" {}"" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31midentifier "z" is undefined in branch 46991f07-7340-4104-9f35-c1fb62e95088[0m
|
||||
[0m[31m[0m[31m[0m[31midentifier "z" is undefined in branch 1c25ebb8-5027-4ccf-105b9-370d83e78fd7[0m
|
||||
↳ from [4mtest/tests/exported variable nested.ans:12:3[0m in identifier: [2mz[0m[0m
|
||||
↳ from [4mtest/tests/exported variable nested.ans:12:1[0m in text interpolation: [2m| {z} |[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:f = ($() _)…[0m
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mcan't call overload iter: no function match arguments (42), possible functions were:
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mcan't call overload iter: no function match arguments (value), possible functions were:
|
||||
• $(table::is table) (from stdlib/for.ans:46:1):
|
||||
type check failure for parameter table
|
||||
• $(tuple::is sequence) (from stdlib/for.ans:37:1):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
--- text ---
|
||||
| {}"" {}"idk" {}" is esperanto" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31mcan't call overload a: no function match arguments (type(5, "nope")), possible functions were:
|
||||
[0m[31m[0m[31mcan't call overload a: no function match arguments (value), possible functions were:
|
||||
• $(name::($(x) type(x) == t)) (from test/tests/function custom type dispatch error.ans:7:1):
|
||||
type check failure for parameter name
|
||||
• $(name::($(x) type(x) == t)) (from test/tests/function custom type dispatch error.ans:4:1):
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"b" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"b" |
|
||||
| {}"c" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"a.checkpoint":false, "a.run":2, "b.checkpoint":false, "b.run":2, "c.checkpoint":false, "c.run":1}
|
||||
{"a.checkpoint":false, "a.run":1, "b.checkpoint":false, "b.run":1, "c.checkpoint":false, "c.run":3}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31midentifier "b" is undefined in branch 46991f07-7340-4104-9f35-c1fb62e95088[0m
|
||||
[0m[31m[0m[31m[0m[31midentifier "b" is undefined in branch 1c25ebb8-5027-4ccf-105b9-370d83e78fd7[0m
|
||||
↳ from [4mtest/tests/function scope wrong.ans:4:7[0m in identifier: [2mb[0m[0m
|
||||
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in text interpolation: [2m| a: {b} |[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = ($() _)…[0m
|
||||
|
|
|
|||
|
|
@ -1,17 +1,23 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31mcan't call overload _._: no function match arguments (overload([($(b) _), ($(x) _), ($() _)]), "a"), possible functions were:
|
||||
• $(s::is script, k::is symbol) = val (from stdlib/script.ans:44:1):
|
||||
[0m[31m[0m[31m[0m[31mcan't call overload _._: no function match arguments (value, "a"), possible functions were:
|
||||
• $(s::is script, k::is symbol) = val (from stdlib/script.ans:45:1):
|
||||
expected 3 arguments, received 2
|
||||
• $(s::is script, k::is string) = val (from stdlib/script.ans:42:1):
|
||||
• $(s::is script, k::is string) = val (from stdlib/script.ans:43:1):
|
||||
expected 3 arguments, received 2
|
||||
• $(s::is script, k::is string) (from stdlib/script.ans:40:1):
|
||||
• $(s::is script, k::is string) (from stdlib/script.ans:41:1):
|
||||
type check failure for parameter s
|
||||
• $(c::is function, s::is symbol) = v (from test/tests/function separate variable from variants.ans:10:4):
|
||||
expected 3 arguments, received 2
|
||||
• $(c::is function, s::is string) = v (from test/tests/function separate variable from variants.ans:10:4):
|
||||
expected 3 arguments, received 2
|
||||
• $(c::is function, s::is string) (from test/tests/function separate variable from variants.ans:10:4):
|
||||
type check failure for parameter c
|
||||
• $(c::is environment, s::is symbol) = v (from test/tests/function separate variable from variants.ans:10:4):
|
||||
expected 3 arguments, received 2
|
||||
• $(c::is environment, s::is string) = v (from test/tests/function separate variable from variants.ans:10:4):
|
||||
expected 3 arguments, received 2
|
||||
• $(c::is environment, s::is string) (from test/tests/function separate variable from variants.ans:10:4):
|
||||
type check failure for parameter c[0m
|
||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:4[0m in call: [2mf . "a"[0m[0m
|
||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in text interpolation: [2m| {f . "a"} = 2 |[0m[0m
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@
|
|||
↳ from [4mtest/tests/merge nested mutable error bis.ans:14:7[0m in call: [2merror("abort")[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:3:1[0m in block: [2minsert(a, b)…[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:3:18[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:30:6[0m in call: [2mfn![0m[0m
|
||||
↳ from [4mstdlib/script.ans:28:3[0m in block: [2mresume target = ()…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:28:7[0m in call: [2melse![0m[0m
|
||||
↳ from [4mstdlib/script.ans:24:2[0m in block: [2mif(fn . "current checkpoint")…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:24:9[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:38:9[0m in call: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:37:1[0m in block: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:37:20[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:31:6[0m in call: [2mfn![0m[0m
|
||||
↳ from [4mstdlib/script.ans:29:3[0m in block: [2mresume target = ()…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:29:7[0m in call: [2melse![0m[0m
|
||||
↳ from [4mstdlib/script.ans:25:2[0m in block: [2mif(fn . "current checkpoint")…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:25:9[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:39:9[0m in call: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:38:1[0m in block: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:38:20[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:19:2[0m in call: [2mf![0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = *[1]…[0m
|
||||
--# post run check #--
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@
|
|||
↳ from [4mtest/tests/merge nested mutable error.ans:14:7[0m in call: [2merror("abort")[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:3:1[0m in block: [2minsert(a, b)…[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:3:18[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:30:6[0m in call: [2mfn![0m[0m
|
||||
↳ from [4mstdlib/script.ans:28:3[0m in block: [2mresume target = ()…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:28:7[0m in call: [2melse![0m[0m
|
||||
↳ from [4mstdlib/script.ans:24:2[0m in block: [2mif(fn . "current checkpoint")…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:24:9[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:38:9[0m in call: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:37:1[0m in block: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:37:20[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:31:6[0m in call: [2mfn![0m[0m
|
||||
↳ from [4mstdlib/script.ans:29:3[0m in block: [2mresume target = ()…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:29:7[0m in call: [2melse![0m[0m
|
||||
↳ from [4mstdlib/script.ans:25:2[0m in block: [2mif(fn . "current checkpoint")…[0m[0m
|
||||
↳ from [4mstdlib/script.ans:25:9[0m in call: [2m_[0m[0m
|
||||
↳ from [4mstdlib/script.ans:39:9[0m in call: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:38:1[0m in block: [2mvalue(s)![0m[0m
|
||||
↳ from [4mstdlib/script.ans:38:20[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:19:2[0m in call: [2mf![0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = *[1]…[0m
|
||||
--# post run check #--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue