Fix argument error to point to the arg at the call site (#4533)
* Fix argument error to point to the arg at the call site * Change MemoryFunction to accept Vec<Arg> instead of Vec<KclValue> * Rename variable to be clearer * Fix one more argument error message * Clean up from PR feedback
This commit is contained in:
5
src/wasm-lib/kcl/tests/argument_error/input.kcl
Normal file
5
src/wasm-lib/kcl/tests/argument_error/input.kcl
Normal file
@ -0,0 +1,5 @@
|
||||
fn f = (i) => {
|
||||
return 5
|
||||
}
|
||||
|
||||
map(f, [0, 1])
|
||||
Reference in New Issue
Block a user