go/types, types2: shorten object map assertion
It's a fairly well-known invariant that each object must exist in the object map and cannot be nil. This change just shortens a check of that invariant. Change-Id: Id15c158c3a9ad91cdc230fb0b84eb69b2451cbdc Reviewed-on: https://go-review.googlesource.com/c/go/+/722061 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Mark Freeman <markfreeman@google.com> Reviewed-by: Robert Griesemer <gri@google.com>
M
Mark Freeman committed
e704b0993b69b564d7a0f515cf206f2cc9f1a342
Parent: 02d1f3a
Committed by Gopher Robot <gobot@golang.org>
on 11/24/2025, 8:34:51 PM