Skip to content

LocationRange is missing for object fields #456

Open
@buremba

Description

@buremba

In some cases, the ast.Node instances (especially the literals) returned by SnippetToAST don't have LocRange as seen in the following picture:

image

In this case, it's a ast.LiteralString inside the Name of ast.DesugaredObjectField. Is this expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugerror reportingHow the errors are handled (e.g. stack trace quality)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions