Skip to content

Update the way variables' values are computed #2

@Johan-Liebert1

Description

@Johan-Liebert1

Example, this test

def a: int = 59 + 1
def b: int = 9

output(a)

returns

Factor {
    token: Token {
        token: Variable(
            "a",
        ),
        line_number: 3,
        col_number: 7,
    },
}
() VisitResult { token: Variable("a") }

Since there is no implementation for Variable's visit method

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