hey!
exporting an enum with rune storage causes harec to fail and emit the
following error:
-----
harec: src/typedef.c:52: storage_to_suffix: Assertion `0' failed.
-----
to my understanding, enums with rune storage are spec-compliant. I've
verified this on version 0.24.0, and using custom compiled hare at
commit a3fd5ec and harec at 3662f0c. the following program reproduces
it:
-----
export type polarity = enum rune{ POS = '+' };
export fn main() void = {
const joe = polarity::POS;
};
-----
thanks!