Skip to content

Variable Scopes #36

@uberFoo

Description

@uberFoo

Reusing a variable name in an inner scope maintains the previous type. For example:

let a = 42;
{
    let a = "hello";
}

Bad stuff happens with that code.

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