internal/runtime: structStr

This commit is contained in:
visualfc
2024-12-20 16:09:39 +08:00
parent ef28abe896
commit c1588d70cd
2 changed files with 23 additions and 2 deletions

View File

@@ -487,7 +487,7 @@ func interfaceStr(ft *abi.InterfaceType) string {
repr = append(repr, "interface {"...)
for i, t := range ft.Methods {
if i > 0 {
repr = append(repr, "; "...)
repr = append(repr, ';')
}
repr = append(repr, ' ')
repr = append(repr, t.Name_...)