fix some comments

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2023-04-18 09:17:36 +08:00
committed by Ron Evans
parent 64957c5254
commit 4e9f9e2773
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -724,7 +724,7 @@ func (c *compilerContext) getMethodsString(itf *types.Interface) string {
return strings.Join(methods, "; ")
}
// getInterfaceImplementsfunc returns a declared function that works as a type
// getInterfaceImplementsFunc returns a declared function that works as a type
// switch. The interface lowering pass will define this function.
func (c *compilerContext) getInterfaceImplementsFunc(assertedType types.Type) llvm.Value {
s, _ := getTypeCodeName(assertedType.Underlying())