]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: remove unused position computation (cleanup)
authorRobert Griesemer <gri@golang.org>
Tue, 26 Oct 2021 20:55:53 +0000 (13:55 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 27 Oct 2021 20:25:01 +0000 (20:25 +0000)
commit6a7eb56cd1837b961ea815105235a3fd96fda94b
tree1549b53ff51b4afc7d09ea2036472443509d9294
parent5c4d7c50c7266bfbce3f43f04a0fb622b9e45805
cmd/compile/internal/types2: remove unused position computation (cleanup)

The position computation was needed for type list support.
With that gone, we don't need this code anymore.

Change-Id: I3f36b3d108a1fae9947fd259d4892e0287cb78ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/358701
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/union.go