Skip to content

Interpreter: function parameter names with numbers appear invalid #32

@DavidObando

Description

@DavidObando

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions