Skip to content

Commit 02e5238

Browse files
committed
go/internal/gcimporter: rename instType to instanceType
This was suggested in CL 349949, and is done in the standard library in CL 350031. Change-Id: I3e7e3a5f56026ec5a9df7acab3079dc92ea07efb Reviewed-on: https://go-review.googlesource.com/c/tools/+/350032 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
1 parent 0cffec9 commit 02e5238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/internal/gcimporter/iimport.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const (
7474
structType
7575
interfaceType
7676
typeParamType
77-
instType
77+
instanceType
7878
unionType
7979
)
8080

@@ -709,7 +709,7 @@ func (r *importReader) doType(base *types.Named) types.Type {
709709
r.p.doDecl(pkg, name)
710710
return r.p.tparamIndex[id]
711711

712-
case instType:
712+
case instanceType:
713713
if r.p.exportVersion < iexportVersionGenerics {
714714
errorf("unexpected instantiation type")
715715
}

0 commit comments

Comments
 (0)