Closed
Description
We use int
not i32
. This is both wasteful and not compatible with C, where enums are always C integers (i32
). We ought to fix this but #1645 makes it hard to do in general.
However, we could make this work in the special case of C-like enums, by changing trans::type_of_tag()
to represent such tags as ints.