-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zipEqual: left list is longer #2812
Comments
The
Here Looks like this problematic case statement comes from inlining this KnownNat2Bool instance:
Probably caused by ghc-typelits-knownnat lying to us here that |
Ah, so the problem is also that we drop casts in the translation from GHC's Core to Clash's Core. So something that will need #1064 |
I made two more observations here:
|
The following reproducer
produces a
but only if the
debug
flag has been enabled forclash-lib
. Otherwise, it compiles just fine.I don't think that this one is related to #2376, although producing the same error message, as the example makes no use of
unsafeCoerce
at all.The text was updated successfully, but these errors were encountered: