Skip to content

cmd/compile: package-level variable initialization with constant dependencies doesn't match order specified in Go spec [1.22 backport] #67820

Closed

Description

@gopherbot

@griesemer requested issue #66575 to be considered for backport to the next 1.22 minor release.

@gopherbot please consider this for backport to 1.22, it's a bug with respect to the spec.

Activity

  1. added this to the Go1.22.4 milestone on Jun 4, 2024
  2. gopherbot commented on Jun 4, 2024

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/590395 mentions this issue: [release-branch.go1.22] cmd/compile: put constants before variables in initialization order

  3. modified the milestones: Go1.22.4, Go1.22.5 on Jun 4, 2024
  4. added
    DocumentationIssues describing a change to documentation.
    and removed
    DocumentationIssues describing a change to documentation.
    on Jun 4, 2024
  5. changed the title [-]spec: package-level variable initialization with constant dependencies not explicitly specified in Go spec [1.22 backport][/-] [+]cmd/compile: package-level variable initialization with constant dependencies doesn't match order specified in Go spec [1.22 backport][/+] on Jun 12, 2024
  6. gopherbot commented on Jun 24, 2024

    @gopherbot
    ContributorAuthor

    Closed by merging 5159a71 to release-branch.go1.22.

  7. added a commit that references this issue on Jun 24, 2024
    5159a71
  8. locked and limited conversation to collaborators on Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions