]> Cypherpunks repositories - gostls13.git/commit
go/internal/gcimporter: avoid setting unnecessary lines in fakeFileSet
authorRobert Findley <rfindley@google.com>
Wed, 20 Oct 2021 18:54:13 +0000 (14:54 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 20 Oct 2021 19:29:12 +0000 (19:29 +0000)
commit4320949f36f5f523a08ce8da6bdcd35ef51b8941
treeb29b3d23dd3595e73042e413f0f8492b2c489da3
parent4e565f7372494c9c46e33a35e84f0fe4fc7d2774
go/internal/gcimporter: avoid setting unnecessary lines in fakeFileSet

This is a clean port of CL 357291 from x/tools.

For #46586

Change-Id: Ib22087ae7fe8477d368acd230b263b83cdad4d36
Reviewed-on: https://go-review.googlesource.com/c/go/+/357429
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/go/internal/gcimporter/iimport.go
src/go/internal/gcimporter/support.go