Remove some hard-coded output in writeExprOther

This commit is contained in:
Nigel Tao committed 2018-05-16 09:50:06 +10:00
1 parent c0c805c36f
commit 1bc174ea77
2 files changed
+47 -54

No files matched your search

+1 -1
View File
@@ -725,7 +725,7 @@ func (g *gen) writeInitializerImpl(b *buffer, n *a.Struct) error {
// Base types don't need further initialization.
continue
} else if qid[0] != 0 {
// See gen.writeCTypeName for a related TODO with otherPkg.
// See gen.packagePrefix for a related TODO with otherPkg.
otherPkg := g.tm.ByID(qid[0])
prefix = "wuffs_" + otherPkg + "__"
} else if g.structMap[qid] == nil {