)]}'
{
  "commit": "c117dde2d0e430d319f475cec3f637c2c9efb56f",
  "tree": "e8d77157b2f06d4d3a86ece761d58ed045da9aef",
  "parents": [
    "b5b860c7f55cd9ece1dcfcc4a7def912351cb8e9"
  ],
  "author": {
    "name": "cuishuang",
    "email": "imcusg@gmail.com",
    "time": "Fri Jul 24 00:16:23 2026 +0800"
  },
  "committer": {
    "name": "Madeline Kalil",
    "email": "mkalil@google.com",
    "time": "Mon Aug 10 14:09:24 2026 -0700"
  },
  "message": "gopls/internal/golang: normalize instantiated fields before rename\n\nWhen a rename is initiated at a field selection on an instantiated\ngeneric type, go/types reports a synthetic *types.Var. The rename\noperation consequently updates other instantiated uses but misses the\noriginal field declaration.\n\nNormalize field targets to their origin before performing the rename.\nThis ensures that the declaration, selector uses, and keyed composite\nliterals are updated together.\n\nAdd a marker test for a rename initiated at an instantiated field\nselection.\n\nFixes golang/go#80542\n\nChange-Id: I8cdd107e6f4de584879f896ebf27d3c823b87473\nReviewed-on: https://go-review.googlesource.com/c/tools/+/804901\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nReviewed-by: Madeline Kalil \u003cmkalil@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e04f8dffb1b29019c98ec9591684dbfe079e1b9",
      "old_mode": 33188,
      "old_path": "gopls/internal/golang/rename.go",
      "new_id": "b093326500043bc112df967e8684e912b7f24837",
      "new_mode": 33188,
      "new_path": "gopls/internal/golang/rename.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ddf7ac59cf2a9713f225c3a893aab667a3ff9432",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/rename/issue80542.txt"
    }
  ]
}
