)]}'
{
  "commit": "cc39f947d5be6cde1be57d13e6277c500e092738",
  "tree": "ecd0c42ac626c7eddf79787684e2a179827f9936",
  "parents": [
    "345e24c514df74c3089cda67a724d683155fa503"
  ],
  "author": {
    "name": "cuishuang",
    "email": "imcusg@gmail.com",
    "time": "Sat Jul 18 14:58:52 2026 +0800"
  },
  "committer": {
    "name": "Madeline Kalil",
    "email": "mkalil@google.com",
    "time": "Thu Jul 23 06:59:47 2026 -0700"
  },
  "message": "gopls/internal/analysis/fillswitch: support renamed package imports\n\nThe fill switch code action qualified generated case values using the\npackage\u0027s declared name. This name may differ from the name used by a\nrenamed import in the current file, causing the action to generate\nundefined identifiers.\n\nUse typesinternal.FileQualifier to qualify both generated cases and the\ncode action title according to the file\u0027s import environment.\n\nUpdate the analyzer and marker tests to cover a renamed import.\n\nFixes golang/go#80460\n\nChange-Id: Id6b781e26f0b07ba974c9fef22df93fcabab5d6e\nReviewed-on: https://go-review.googlesource.com/c/tools/+/802441\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Carlos Amedee \u003ccarlos@golang.org\u003e\nReviewed-by: Hongxiang Jiang \u003chxjiang@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7b1a7e8cbe5e044f7594243031d51293e43783bc",
      "old_mode": 33188,
      "old_path": "gopls/internal/analysis/fillswitch/fillswitch.go",
      "new_id": "808a25a7e8da9bd213aaa0e30f905302bc1764c7",
      "new_mode": 33188,
      "new_path": "gopls/internal/analysis/fillswitch/fillswitch.go"
    },
    {
      "type": "modify",
      "old_id": "6fa33ec8ffd365873599153190917ca5c3f1464f",
      "old_mode": 33188,
      "old_path": "gopls/internal/analysis/fillswitch/testdata/src/a/a.go",
      "new_id": "a87ad42b3920911628d123307a220e887a9b5847",
      "new_mode": 33188,
      "new_path": "gopls/internal/analysis/fillswitch/testdata/src/a/a.go"
    },
    {
      "type": "modify",
      "old_id": "a92a895287fc1e447121128716dd7eb4ab86e563",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/codeaction/fill_switch.txt",
      "new_id": "c8035d7a94021b6afc6d9f300531f60dc39c55e6",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/codeaction/fill_switch.txt"
    },
    {
      "type": "modify",
      "old_id": "39a7eae7779a1ccd377fc44873f7289aa728d668",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/codeaction/fill_switch_resolve.txt",
      "new_id": "8065711c325e90af0aab1f91aee2a0f453bf456c",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/codeaction/fill_switch_resolve.txt"
    }
  ]
}
