Closed RayhanHamada closed 2 years ago
Currently i encounter some bugs when passing string literal into multi-parameter function call
Suppose we have a function that takes 3 parameters
so about fungsiMultiParam a b c spill "a: " + a spill "b: " + b spill "c: " + c thats it sih
When fungsiMultiParam called like
fungsiMultiParam
call fungsiMultiParam "hello" 4 5
It outputs
a: hello b: undefined // should be 4 c: undefined // should be 5
Or when i switch the position like such
call fungsiMultiParam 3 "hello" 5
a: 3 b: undefined c: undefined
It seems that only parse the first argument. Function with only one parameter works fine with string literal.
gonna make PR for this asap.
Currently i encounter some bugs when passing string literal into multi-parameter function call
Suppose we have a function that takes 3 parameters
When
fungsiMultiParam
called likeIt outputs
Or when i switch the position like such
It outputs
It seems that only parse the first argument. Function with only one parameter works fine with string literal.