)]}'
{
  "commit": "e853881f6df487f5cfd7f716a25446f85d3c4de2",
  "tree": "584d4e5f6f65229e7b2dae75667bcba033fb1676",
  "parents": [
    "be9542307a30c1e832d479720618e79381f3c952"
  ],
  "author": {
    "name": "Elena",
    "email": "ziy07@list.ru",
    "time": "Wed Oct 21 17:41:59 2026 +0000"
  },
  "committer": {
    "name": "Alex Putman",
    "email": "aputman@golang.org",
    "time": "Wed Oct 21 10:47:45 2026 -0700"
  },
  "message": "gopls/internal/util/typesutil: return any for void calls in FromContext\n\ngo/types records a call to a void function with the type\n(*types.Tuple)(nil). FromContext passed such types through validType,\nso a single-value hole such as x in\n\n\t_ \u003d voidFunc() + x\n\nwas given the tuple type. The undeclared-name quick fix then crashed\nwhen it called At(0) on the nil tuple, and the missing-method quick fix\ndeclared a method with no result.\n\nA tuple is never a valid type for a single-value hole: it arises only\nfrom a call to a void function, or from a multi-value call in a\nsingle-value context, both of which are errors. So validType now\nreturns any for it.\n\nFixes golang/go#82301\n\nChange-Id: I65986a9ce30556813b9beeea596cf01419fc4fb8\nGitHub-Last-Rev: 4dc222b45f1f4d606432b0e8043b7870e06cb06d\nGitHub-Pull-Request: golang/tools#701\nReviewed-on: https://go-review.googlesource.com/c/tools/+/851805\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\nReviewed-by: Alex Putman \u003caputman@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fc108eb9c7487b954edd7db34b1fa294b9122261",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/quickfix/stubmethods/fromcall_returns.txt",
      "new_id": "d0edf21d0a70181a4e15c200fa2dd631f2abe647",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/quickfix/stubmethods/fromcall_returns.txt"
    },
    {
      "type": "modify",
      "old_id": "8d23b643686c55f5036e778bf2050ea59bbf5a1d",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/quickfix/undeclared/var.txt",
      "new_id": "f384b08e00a584817935b35baaeec81966e239c2",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/quickfix/undeclared/var.txt"
    },
    {
      "type": "modify",
      "old_id": "3e68e20df9a56c3d9aff56596996a653f8393c43",
      "old_mode": 33188,
      "old_path": "gopls/internal/util/typesutil/typesutil.go",
      "new_id": "32bcd5e726580f048e26dc8c76cc646d1bf3bb69",
      "new_mode": 33188,
      "new_path": "gopls/internal/util/typesutil/typesutil.go"
    },
    {
      "type": "modify",
      "old_id": "b88102a988da6900bf0f5d2740a326fe10772bb9",
      "old_mode": 33188,
      "old_path": "gopls/internal/util/typesutil/typesutil_test.go",
      "new_id": "42b71effc7377da68e6cfc62c0928cca1b1be83d",
      "new_mode": 33188,
      "new_path": "gopls/internal/util/typesutil/typesutil_test.go"
    }
  ]
}
