Skip to content

Commit 8ea4f1f

Browse files
nevkontakteflimzy
andauthored
Fix a type
Co-authored-by: Jonathan Hall <jonathan@jhall.io>
1 parent 0406604 commit 8ea4f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ func (fc *funcContext) typeName(ty types.Type) string {
427427
}
428428

429429
// For anonymous composite types, generate a synthetic package-level type
430-
// declaration, which will be reused for all instances of this time. This
430+
// declaration, which will be reused for all instances of this type. This
431431
// improves performance, since runtime won't have to synthesize the same type
432432
// repeatedly.
433433
anonType, ok := fc.pkgCtx.anonTypeMap.At(ty).(*types.TypeName)

0 commit comments

Comments
 (0)