Add colons to const syntax

This commit is contained in:
Nigel Tao committed 2020-04-14 14:57:30 +10:00
1 parent 80071730a3
commit 532e18c4a5
16 files changed
+119 -99

No files matched your search

+1 -1
View File
@@ -274,7 +274,7 @@ func (h *genHelper) genWuffs(dirname string, qualifiedFilenames []string) error
if !n.Public() {
continue
}
fmt.Fprintf(out, "pub const %s %s = %v\n",
fmt.Fprintf(out, "pub const %s : %s = %v\n",
n.QID().Str(&h.tm), n.XType().Str(&h.tm), n.Value().Str(&h.tm))
case a.KFunc: