Skip to content

cmd/compile/internal/syntax: always return a "sensible" node in case of errors #19663

@griesemer

Description

@griesemer

Reminder issue.

Currently, the syntax parser may return nil for some productions that had errors. Should always return a sensible node; maybe an error node (similar to what go/ast does).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions