)]}'
{
  "commit": "22053790fa2c0944df53ea95df476ad2f855424f",
  "tree": "31b3d36129447c77c3b8c29fc994635387110364",
  "parents": [
    "6796a7fb127676b61375339076ae1c982a721dde"
  ],
  "author": {
    "name": "Keith Randall",
    "email": "khr@golang.org",
    "time": "Thu Sep 17 09:55:23 2020 -0700"
  },
  "committer": {
    "name": "Keith Randall",
    "email": "khr@golang.org",
    "time": "Thu Sep 17 19:35:53 2020 +0000"
  },
  "message": "cmd/compile: propagate go:notinheap implicitly\n\n//go:notinheap\ntype T int\n\ntype U T\n\nWe already correctly propagate the notinheap-ness of T to U.  But we\nhave an assertion in the typechecker that if there\u0027s no explicit\n//go:notinheap associated with U, then report an error. Get rid of\nthat error so that implicit propagation is allowed.\n\nAdjust the tests so that we make sure that uses of types like U\ndo correctly report an error when U is used in a context that might\ncause a Go heap allocation.\n\nFixes #41451\n\nUpdate #40954\nUpdate #41432\n\nChange-Id: I1692bc7cceff21ebb3f557f3748812a40887118d\nReviewed-on: https://go-review.googlesource.com/c/go/+/255637\nRun-TryBot: Keith Randall \u003ckhr@golang.org\u003e\nReviewed-by: Cuong Manh Le \u003ccuong.manhle.vn@gmail.com\u003e\nReviewed-by: Ian Lance Taylor \u003ciant@golang.org\u003e\nTrust: Cuong Manh Le \u003ccuong.manhle.vn@gmail.com\u003e\nTryBot-Result: Go Bot \u003cgobot@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55773641ed13ab0fe9f23d9b7a3ba35522eeafa2",
      "old_mode": 33188,
      "old_path": "src/cmd/compile/internal/gc/typecheck.go",
      "new_id": "834c1a8ee68463eac2e979dfba204035e999f5ee",
      "new_mode": 33188,
      "new_path": "src/cmd/compile/internal/gc/typecheck.go"
    },
    {
      "type": "modify",
      "old_id": "5dd4997a6572daf7449a2f37f3a4d24dee099ef1",
      "old_mode": 33188,
      "old_path": "test/notinheap.go",
      "new_id": "2188a38a143c14f9916c5b4fd9672e5974559608",
      "new_mode": 33188,
      "new_path": "test/notinheap.go"
    },
    {
      "type": "modify",
      "old_id": "23d4b0ae77469a0c6fda6886adc40f76daac8d7e",
      "old_mode": 33188,
      "old_path": "test/notinheap2.go",
      "new_id": "100ed37b7218ad2ce8604fa13675db3bf9fa2ee2",
      "new_mode": 33188,
      "new_path": "test/notinheap2.go"
    }
  ]
}
