ref: 8de1cdde541f65ff1394f12fd57452cda63099ce
parent: 3ff9e5e0a03fa26113c7968878ac248f0e3464ef
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Feb 14 18:35:47 EST 2017
Comment why Tynone is not a bug. Self confusion for the win.
--- a/lib/std/fmt.myr
+++ b/lib/std/fmt.myr
@@ -277,7 +277,8 @@
var inf, p
match typedesc(tyenc)
- | `Tynone: /* nothing */
+ /* shows up in a union with no body */
+ | `Tynone:
/* atomic types */
| `Tyvoid:
sbputs(sb, "void")