* added test case for callbacks
1 files changed, 19 insertions(+), 0 deletions(-) M testing/test_callback.sc
M testing/test_callback.sc +19 -0
@@ 38,3 38,22 @@ test-error compile (typify ((fn (x) x) as Closure) i32) function i32 i32 +do + # calling function signatures with qualifiers + using import Array + + let fnT = + typeof + static-typify + fn (args) + move args + & (Array i32) + + local arr : (Array i32) + call + as + fn (args) + move args + fnT + arr +; No newline at end of file