)]}'
{
  "commit": "d5b12d7337f5db9530cfb614beedf166e2c17e6b",
  "tree": "d13ac1d867256bb78af88ab0b7d71250d97de9ba",
  "parents": [
    "940d126d24300eb627a71d4aa332ebda5b9b12c8"
  ],
  "author": {
    "name": "Groot Guo",
    "email": "genyuan.guo@gmail.com",
    "time": "Tue Jul 28 10:51:54 2026 +0000"
  },
  "committer": {
    "name": "Alex Putman",
    "email": "aputman@golang.org",
    "time": "Wed Jul 29 09:30:24 2026 -0700"
  },
  "message": "gopls: add assembly DocumentHighlight, fix label scoping\n\nThis adds DocumentHighlight for Go assembly files, and fixes a bug where\n  label definitions were not properly scoped to their enclosing TEXT function.\n\n  - Dispatch file.Asm in DocumentHighlight to goasm.Highlight.\n  - For a symbol or label under the cursor, same-name occurrences are\n    highlighted: definitions (TEXT, GLOBL, labels) as Write, references as Read.\n  - For a register, all occurrences within the enclosing TEXT function are\n    highlighted, approximating its def/use chain.\n  - Scope label definitions to the enclosing TEXT function, so Definition on\n    a label reference no longer jumps to a same-named label in a different\n    function.\n\n  For golang/go#71754\n\nChange-Id: I450d689f4cfc7052736dd5c5957375d2ae16484b\nGitHub-Last-Rev: 1e43c451da62f148f49408f4aec3c8a0056abc11\nGitHub-Pull-Request: golang/tools#661\nReviewed-on: https://go-review.googlesource.com/c/tools/+/804760\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\nAuto-Submit: Alan Donovan \u003cadonovan@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Alex Putman \u003caputman@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7302999263d79f50e723c6519cfe3140b5c5e5a8",
      "old_mode": 33188,
      "old_path": "gopls/doc/features/assembly.md",
      "new_id": "f6074e87717af77ba9894912c2489609938cc5cd",
      "new_mode": 33188,
      "new_path": "gopls/doc/features/assembly.md"
    },
    {
      "type": "modify",
      "old_id": "9951ac8e5849a8225191be89d63f795d6c5cfc8b",
      "old_mode": 33188,
      "old_path": "gopls/doc/release/v0.24.0.md",
      "new_id": "f4d0db300b43ff78189eb6203d421bc4fe012023",
      "new_mode": 33188,
      "new_path": "gopls/doc/release/v0.24.0.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ad0b7c51af235f9f026559e27818fcf2d52db1d9",
      "new_mode": 33188,
      "new_path": "gopls/internal/goasm/highlight.go"
    },
    {
      "type": "modify",
      "old_id": "9067bf5c7c3fdd6fcca7803e07ab52217050e85d",
      "old_mode": 33188,
      "old_path": "gopls/internal/goasm/resolve.go",
      "new_id": "fe9fb8efc7f24d0ce8735aecc0fc9433b00b3d99",
      "new_mode": 33188,
      "new_path": "gopls/internal/goasm/resolve.go"
    },
    {
      "type": "modify",
      "old_id": "83b2660d72553ba31f211781b0491befc15b8e2b",
      "old_mode": 33188,
      "old_path": "gopls/internal/server/highlight.go",
      "new_id": "b5aa4bcaef247bf1f5b96aa91b2e6a5ace347580",
      "new_mode": 33188,
      "new_path": "gopls/internal/server/highlight.go"
    },
    {
      "type": "modify",
      "old_id": "da42b5e673ccb5b39940cd0698324f4674fd8005",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/definition/asm.txt",
      "new_id": "9a45d84b478722a705c8ffb40e5d9d3eb9823306",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/definition/asm.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ffb3acaf8bcf66c4e6a0030d6ebfd9a023ec73c9",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/highlight/asm.txt"
    },
    {
      "type": "modify",
      "old_id": "233c0c460313f366c8816262bd45ab7d1f6f46c5",
      "old_mode": 33188,
      "old_path": "gopls/internal/util/asm/parse.go",
      "new_id": "765eb5f78a639d71daa6c4492884e6ebc19f63ec",
      "new_mode": 33188,
      "new_path": "gopls/internal/util/asm/parse.go"
    }
  ]
}
