Interpreter: function parameter names with numbers appear invalid
Opened this issue · 0 comments
DavidObando commented
This is a valid program that the interpreter doesn't accept:
func add(num1 int, num2 int) int {
return num1 + num2
}
Replacing num1
for x
and num2
for y
makes the interpreter take the program.