Skip to content

Commit

Permalink
cmd/compile/internal/noder: correct spelling errors for instantiation
Browse files Browse the repository at this point in the history
Change-Id: I8091b3181e6dd0c335763c411a6a64026fe5a651
GitHub-Last-Rev: 505c6ca
GitHub-Pull-Request: golang#54024
Reviewed-on: https://go-review.googlesource.com/c/go/+/419315
Run-TryBot: Keith Randall <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Auto-Submit: Keith Randall <[email protected]>
  • Loading branch information
jacobishao authored and gopherbot committed Jul 24, 2022
1 parent c5da4fb commit 2ff563a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/noder/stencil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2ff563a

Please sign in to comment.