)]}'
{
  "commit": "efddb5ac611b930a4d44f947ab53d37d3e5ab525",
  "tree": "d3de423c621fb135c50ca8e0d346635f1d36029a",
  "parents": [
    "b4771dc03289ec1d038f550063acb6d6a3e54b49"
  ],
  "author": {
    "name": "Robert Griesemer",
    "email": "gri@golang.org",
    "time": "Mon Jun 15 16:10:37 2026 -0700"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Jun 16 10:32:56 2026 -0700"
  },
  "message": "go/types, types2: add user-friendly panics in Instantiate\n\nBased on CL 784220 but adjusted to fit latest source status.\n\nReplace opaque assert() calls in the exported Instantiate function with\nexplicit panics that spell out the violated precondition.\n\nInternal assertions in instance() are unchanged since they guard invariants\nunreachable from the public API.\n\nAlso, make error messages consistent.\n\nThis only affects incorrect calls of Instantiate which reported an error\nor panicked before and will report an error or panic now, albeit now with\ndescriptive error messages.\n\nFixes #79709.\n\nChange-Id: Iea21cfaf846d9d67f078d26345fe85c509eccae7\nReviewed-on: https://go-review.googlesource.com/c/go/+/791140\nReviewed-by: Mark Freeman \u003cmarkfreeman@google.com\u003e\nAuto-Submit: Robert Griesemer \u003cgri@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: Robert Griesemer \u003cgri@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6cd1ed3d854f2bc17449ebdb83078629a8eacee8",
      "old_mode": 33188,
      "old_path": "src/cmd/compile/internal/types2/instantiate.go",
      "new_id": "daa6b506eb43eb4520c9cf5e68f1f2dbc763ee16",
      "new_mode": 33188,
      "new_path": "src/cmd/compile/internal/types2/instantiate.go"
    },
    {
      "type": "modify",
      "old_id": "be7d88aca34b88be9885abf1e83341b7f5608305",
      "old_mode": 33188,
      "old_path": "src/cmd/compile/internal/types2/issues_test.go",
      "new_id": "c51543b40df870b6501989a2f9a94bd73e2340c6",
      "new_mode": 33188,
      "new_path": "src/cmd/compile/internal/types2/issues_test.go"
    },
    {
      "type": "modify",
      "old_id": "2b3cdab88fd9d558c101288fe3e8ce7964c5cfa4",
      "old_mode": 33188,
      "old_path": "src/go/types/generate_test.go",
      "new_id": "d1ffd99a85152d66ee276861b3ba1dfb2c081768",
      "new_mode": 33188,
      "new_path": "src/go/types/generate_test.go"
    },
    {
      "type": "modify",
      "old_id": "c0590921b4220317bf65881104b69e5f475e2265",
      "old_mode": 33188,
      "old_path": "src/go/types/instantiate.go",
      "new_id": "018998485d6459dfb8b1ae9fc96bec6b472227cd",
      "new_mode": 33188,
      "new_path": "src/go/types/instantiate.go"
    },
    {
      "type": "modify",
      "old_id": "51110cd59d8562476b774c53e6ceeca8ea39c37e",
      "old_mode": 33188,
      "old_path": "src/go/types/issues_test.go",
      "new_id": "89d244f18c1e0465d8967aedcc9d81f498300df7",
      "new_mode": 33188,
      "new_path": "src/go/types/issues_test.go"
    }
  ]
}
