)]}'
{
  "commit": "008ed2c6914c648cfabe7050f1209a6bb9a51dc7",
  "tree": "2caad170f75c2279016eba953208fdca4f6460cf",
  "parents": [
    "b297f5a4df64a4a9707b002478328a63d35a74c0"
  ],
  "author": {
    "name": "Rob Findley",
    "email": "rfindley@google.com",
    "time": "Tue Jun 25 16:57:48 2024 +0000"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Wed Jun 26 17:42:31 2024 +0000"
  },
  "message": "gopls/internal/golang/completion: fix package clause completion suffix\n\nCL 585275 introduced a call to completion.Surrounding.Suffix that\nexposed a latent bug in package clause completions: the completion\ncontent was not being correctly computed as containing the cursor.\n\nFix the heuristics for completing at \"package\u003cwhitespace\u003e|\", so that the\nsurrounding content is correct.\n\nAs a result of this change the \u0027editRegexp\u0027 from some completion tests\nnow no longer includes the newline, which also seems more correct.\n\nFixes golang/go#68169\n\nChange-Id: I32ea20a7f9f0096aef85ed77c64d3b4dfeedef45\nReviewed-on: https://go-review.googlesource.com/c/tools/+/594796\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Hyang-Ah Hana Kim \u003chyangah@gmail.com\u003e\nAuto-Submit: Robert Findley \u003crfindley@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ba9ddc2f81f6dcb6bfc9bbae53201b0604472697",
      "old_mode": 33188,
      "old_path": "gopls/internal/golang/completion/package.go",
      "new_id": "e71f5c9dd0274b562c92ec1d271aba8e3ed96859",
      "new_mode": 33188,
      "new_path": "gopls/internal/golang/completion/package.go"
    },
    {
      "type": "modify",
      "old_id": "0ca46dabcb32413f2ed18ac8769b3f88df4f6230",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/integration/completion/completion_test.go",
      "new_id": "c96e569f1ad8c117370e3e42ae34066d84b58194",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/integration/completion/completion_test.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "52695847c4db020fc7c31372704b18b52e16fc92",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/integration/completion/fixedbugs_test.go"
    }
  ]
}
