)]}' { "commit": "76252f4b7486cf862b0ee4113bbb3c91092d8d11", "tree": "e8b25a2057b8ad970fb4d05ba639f691bb525180", "parents": [ "eac3ea208958575a5e232cecdd15c1db73bd9168" ], "author": { "name": "Marcel van Lohuizen", "email": "mpvl@golang.org", "time": "Fri Mar 20 11:01:05 2020 +0100" }, "committer": { "name": "Marcel van Lohuizen", "email": "mpvl@golang.org", "time": "Fri Mar 20 22:01:06 2020 +0000" }, "message": "cue: fix import usage detection for partially resolved files\n\nPreviously, the usage of imports was deteced by matching\nthem with unresolved references. This did not work, however,\nwhen passing a previously processed ast.File, with already\nresolved references.\n\nThe problem was previously undetected, as the CUE builder\nwould always write out files and parse them back in. Recent\noptimizations that elide this step exposed this problem.\n\nThis change also makes uses of the newer multi-error\ninfrastructure and improves some of the naming of vars.\n\nChange-Id: Ieda38b989b050d90f0ced49e91acaea58ca47e19\nReviewed-on: https://cue-review.googlesource.com/c/cue/+/5360\nReviewed-by: Jason Wang \u003cjasonwzm@google.com\u003e\nReviewed-by: Marcel van Lohuizen \u003cmpvl@golang.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "5f7aa62096b121479928850eb495a09bb31ebd7c", "old_mode": 33188, "old_path": "cue/build.go", "new_id": "f7e17fae9bfdb06d9f41f977faf619f5675550e3", "new_mode": 33188, "new_path": "cue/build.go" }, { "type": "modify", "old_id": "10f8336e2adeffe93a7b6b72ca2c1ee6ff88cfd5", "old_mode": 33188, "old_path": "cue/build_test.go", "new_id": "90b15b7a32ec832585e3377879d9cb3d75f200fd", "new_mode": 33188, "new_path": "cue/build_test.go" } ] }