aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacobishao <shaojacobi@gmail.com>2022-07-24 12:38:48 +0000
committerGopher Robot <gobot@golang.org>2022-07-24 21:02:10 +0000
commit2ff563a00e45308fad74f1f86d816f4f636584a0 (patch)
tree4098ee1fddc4b1044c10e6156079487a5990cba7
parentc5da4fb7ac5cb7434b41fc9a1df3bee66c7f1a4d (diff)
downloadgo-2ff563a00e45308fad74f1f86d816f4f636584a0.tar.gz
go-2ff563a00e45308fad74f1f86d816f4f636584a0.zip
cmd/compile/internal/noder: correct spelling errors for instantiation
Change-Id: I8091b3181e6dd0c335763c411a6a64026fe5a651 GitHub-Last-Rev: 505c6caa9cd4538f76dde4287b9266e8947e395e GitHub-Pull-Request: golang/go#54024 Reviewed-on: https://go-review.googlesource.com/c/go/+/419315 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Keith Randall <khr@golang.org>
-rw-r--r--src/cmd/compile/internal/noder/stencil.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/noder/stencil.go b/src/cmd/compile/internal/noder/stencil.go
index 1ba561b8b9..280f7cdf1c 100644
--- a/src/cmd/compile/internal/noder/stencil.go
+++ b/src/cmd/compile/internal/noder/stencil.go
@@ -623,7 +623,7 @@ func checkFetchBody(nameNode *ir.Name) {
}
}
-// getInstantiation gets the instantiantion and dictionary of the function or method nameNode
+// getInstantiation gets the instantiation and dictionary of the function or method nameNode
// with the type arguments shapes. If the instantiated function is not already
// cached, then it calls genericSubst to create the new instantiation.
func (g *genInst) getInstantiation(nameNode *ir.Name, shapes []*types.Type, isMeth bool) *instInfo {