1
0
mirror of https://github.com/golang/go synced 2024-11-17 08:24:43 -07:00

cmd/compile/internal/noder: correct spelling errors for instantiation

This commit is contained in:
jacobishao 2022-07-24 19:56:33 +08:00 committed by GitHub
parent c5da4fb7ac
commit 505c6caa9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {