Skip to content

cmd/compile: use Node.Right rather than Node.RList for OAS2* nodes (cleanup) #32293

@griesemer

Description

@griesemer

Cleanup suggestion (per e-mail discussion between @griesemer and @mdempsky):

The nodes with ops OAS2FUNC, OAS2RECV, OAS2MAPR, OAS2DOTTYPE, and OASOP, use an RList, but (at least) in the documentation the RHS looks like a single node.

They could be (likely) switched to using the Right field, making that field access slightly more efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.SuggestedIssues that may be good for new contributors looking for work to do.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions