Skip to content

bug(semantic): references on MemberExpression not recorded #4446

@DonIsaac

Description

@DonIsaac
enum Foo { // <- foo creates a scope, just like a namespace
  A        // <- has a symbol (SymbolFlags::EnumMember)
}

// Foo has a reference, but A does not
console.log(Foo.A) 

(edit: it appears playground links are broken. When I go to copy a playground URL for this snippet, it takes me to the playground with the default react component snippet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions