Skip to content

cmd/compile/internal/syntax: fix error handling for Read* calls. #17774

@griesemer

Description

@griesemer

Tracking issue.

Proposal:

  1. If there's any error, we always return the first error, whether there is an errh installed or not.
  2. If an errh is installed, we call it for each error.
  3. If no errh is installed, we exit after the first error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions