Closed reaganmcf closed 3 years ago
Running the following example with the cli gives weird behavior. It has to do with the engine renaming parameters in the function call when they share the same name as an already defined variable.
let x = 100
fn test(x,y) { x + y }
call test(1,1)
The following error shows up
Running the following example with the cli gives weird behavior. It has to do with the engine renaming parameters in the function call when they share the same name as an already defined variable.
let x = 100
fn test(x,y) { x + y }
call test(1,1)
The following error shows up