Skip to content

Assignment typing #6

Description

@cf7

We have decided that we want type inference, but what about changing the type of the VarDecl later on?
Do we want to make the types of VarDecl's unchangeable, or should they be changeable if a new type is assigned to them?

var x = 10;
x = true; // should this be valid? Or should it return an assignment error?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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