aboutsummaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-03-30 15:09:13 -0700
committerRobert Griesemer <gri@golang.org>2022-03-31 00:27:01 +0000
commit0a6ddcc4f03b5a89bf2eadee1fe284faf0e20be2 (patch)
tree62e259464374196c3a6b2ad974482625ce90a2dd /src/html
parent077573018027c30e5f422d50f0b96e1733ac6001 (diff)
downloadgo-0a6ddcc4f03b5a89bf2eadee1fe284faf0e20be2.tar.xz
go/types, types2: no "imported but not used" error for unimported packages
If a package could not be imported for whatever reason, the type checker creates fake package with which it continues for more tolerant type checking. Do not report an "imported but not used" error in that case. Clarify a few comments along the way. Fixes #43109. Change-Id: Ifeec0daa688fbf666412dc9176ff1522d02a23ef Reviewed-on: https://go-review.googlesource.com/c/go/+/396875 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/html')
0 files changed, 0 insertions, 0 deletions