Closed gergoerdi closed 5 years ago
Thanks for the report! I'll see if I can find which commit breaks it.
Commit https://github.com/clash-lang/clash-compiler/commit/32489b7a7b91f80a7fdcb4dcb3b88b366cd2dfae changes the type of EmptyCase
, causing https://github.com/clash-lang/clash-compiler/blob/f2060a07705b5a76addd8240a999b187848544f2/clash-lib/src/Clash/Normalize/Transformations.hs#L411 to misfire. Will fix in a bit.
The following CLaSH code compiles into VHDL with CLaSH 0.99.3 (with all the references to
Undefined
removed), but fails with f2060a07705b:The source code as a single module:
Here is the error message with f2060a07705b: