-
Notifications
You must be signed in to change notification settings - Fork 156
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
Under-applied constructor when compiling with separate compilation #2634
Comments
I have minimized the issue quite significantly. The data constructor in question here appears to be It appears that |
I can confirm that |
We do it for the starter project as well, though going by the comment for different reasons: https://github.com/clash-lang/stack-templates/blob/572614b9c34dd4b17f7eb209931e873f220b3a7f/projects/simple/%7B%7Bname%7D%7D.cabal#L56-L59 Also, when we compile from source we emit a warning when W/W is enabled globally: 957a302 |
With
clash-ghc-1.8.0
and GHC 9.2.8, a simple entity using myaxi-register
package builds fine when built in conjunction withaxi-register
in a single compilation:However, if we use
Cabal
to buildaxi-register
and then compile the same testcase using the unfoldings contained in the interface files we have the following error:This is very reminiscent of #2628
Reproducing
The text was updated successfully, but these errors were encountered: