Skip to content

Error when calling getNamespaceDefinition on SourceFileNode #255

@dantleech

Description

@dantleech

When calling getNamespaceDefinition on a SourceFileNode an exception is thrown:

Invalid tree - SourceFileNode must always exist at root of tree.

The function tries to fallback to the SouceFileNode from any child node type, but fails when the node is itself a SourceFileNode.

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