aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/interface.go
diff options
context:
space:
mode:
authorcui fliter <[email protected]>2023-04-18 09:17:36 +0800
committerRon Evans <[email protected]>2023-04-18 22:51:49 +0200
commit4e9f9e27731a07e665007def34680d20ef31b5c8 (patch)
treee7ab201fe4756f577fe0c6f4b81d0aa9f37733b9 /compiler/interface.go
parent64957c5254fba22fe6d39f0509298b16fc38b7f3 (diff)
downloadtinygo-4e9f9e27731a07e665007def34680d20ef31b5c8.tar.gz
tinygo-4e9f9e27731a07e665007def34680d20ef31b5c8.zip
fix some comments
Signed-off-by: cui fliter <[email protected]>
Diffstat (limited to 'compiler/interface.go')
-rw-r--r--compiler/interface.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/interface.go b/compiler/interface.go
index dd181c546..9e3e0a674 100644
--- a/compiler/interface.go
+++ b/compiler/interface.go
@@ -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())