Skip to content

Missing case in TypeChecker for Ctup for GlobalValue #23

Open
@waynee95

Description

@waynee95

There's a case missing in type_check_exp for handling GlobalValue

Shouldn't the method be extended with:

  def type_check_exp(self, e, env):
    match e:
        case GlobalValue(id):
            return self.type_check_atm(e, env)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions