Skip to content

Unboxed Tuples Sums and bytecode... #1393

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

Closed
awgn opened this issue Feb 18, 2021 · 2 comments
Closed

Unboxed Tuples Sums and bytecode... #1393

awgn opened this issue Feb 18, 2021 · 2 comments
Labels
component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. type: support User support tickets, questions, help with setup etc.

Comments

@awgn
Copy link

awgn commented Feb 18, 2021

Hi there,

Not sure if this is a bug of ghcide or my fault, but I can't find a workaround for the annoying "Program error: bytecode compiler can't handle unboxed tuples and sums" when the module is indeed using unboxed tuples or sums (I got this with ghc 8.6.x 8.8.x or 8.10.x).

Where should I have to put the "-fobject-code" option? I added it to the ghc-options in cabal, but it didn't fix the problem.
Best,

N.

@jneira
Copy link
Member

jneira commented Feb 18, 2021

There is an ongoing pull request about that issue (or it seems to me that could be related): #1382

@jneira jneira added component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. type: support User support tickets, questions, help with setup etc. labels Feb 18, 2021
@jneira
Copy link
Member

jneira commented Jun 20, 2021

It seems this is a Duplicate of #771 (or is closely related). I am gonna close it, feel free to reopen if you think they are different ones.

@jneira jneira closed this as completed Jun 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. type: support User support tickets, questions, help with setup etc.
Projects
None yet
Development

No branches or pull requests

2 participants