From 2ff563a00e45308fad74f1f86d816f4f636584a0 Mon Sep 17 00:00:00 2001 From: jacobishao Date: Sun, 24 Jul 2022 12:38:48 +0000 Subject: [PATCH] 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 Reviewed-by: Ian Lance Taylor Reviewed-by: Keith Randall Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Auto-Submit: Keith Randall --- src/cmd/compile/internal/noder/stencil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.48.1