Skip to content

[Errors] with blocks and global vars #47

Closed
@mhegazy

Description

@mhegazy
with (window) {
        var p = () => this;
}

Expected: no error
Actual:

with (window) {
        !!! Could not find symbol 'window'.
        var p = () => this;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions