Closed GoogleCodeExporter closed 9 years ago
I think I see the problem. The type checker is creating a tuple internally to
hold the constructors of a variant type. If there is only a single variant, the
tuple will have size 1, which is disallowed by an assertion in TupleType, as a
sanity check. Maybe this should be changed to a record?
Original comment by dkitc...@gmail.com
on 28 Jan 2013 at 3:53
A record makes sense since the constructors are actually named. Should I try to
implement this? Or should I assign the bug to you?
Original comment by arthur.peters
on 28 Jan 2013 at 4:49
Fixed in r3171. Please reopen is there are problems with the fix.
Original comment by arthur.peters
on 30 Jan 2013 at 11:18
Original comment by arthur.peters
on 30 Jan 2013 at 11:18
Original issue reported on code.google.com by
arthur.peters
on 26 Jan 2013 at 4:33