Skip to content

cmd/compile: unnecessary internal variables are exported to DWARF for range-over-func loops #68238

@aarzilli

Description

@aarzilli

The compiler exports to DWARF a variety of internal variables (#state, #next, parameters) for range-over-func loops that exist to facilitate the implementation of range-over-func but have no value for users.
These should probably not be exported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions