Skip to content
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

GHC 8.4.3 crashes with hs-elisp parser. #51

Open
VictorCMiraldo opened this issue Jul 14, 2019 · 2 comments
Open

GHC 8.4.3 crashes with hs-elisp parser. #51

VictorCMiraldo opened this issue Jul 14, 2019 · 2 comments
Labels
compiler-issue Issues related to GHC that we don't have much control over

Comments

@VictorCMiraldo
Copy link
Owner

VictorCMiraldo commented Jul 14, 2019

hs-elisp commit working around it

When compiling the following code:

import Generics.MRSOP.TH
import Generics.MRSOP.Base
import Language.ELisp -- comming from hs-elisp

generateFamilyWith 'W [t| [ESExp] |]

I run into:

> ghc: panic! (the 'impossible' happened)
>   (GHC version 8.4.3 for x86_64-unknown-linux):
>         completeCall
>   fail_aeDS
>   Select nodup wild_00
>   Stop[BoringCtxt] Rep
>                      W (El FamListESExp) (Lkup ix_aeTL CodesListESExp)
>   Call stack:
>       CallStack (from HasCallStack):
>         callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc:Outputable
>         pprPanic, called at compiler/simplCore/Simplify.hs:1533:9 in ghc:Simplify
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

I want to make a small reproducible file before submitting it as a bug, though.

@VictorCMiraldo VictorCMiraldo added the compiler-issue Issues related to GHC that we don't have much control over label Jul 14, 2019
@VictorCMiraldo
Copy link
Owner Author

The panic happens at the same place as this issue,
which was already triggered by us ( #33 ). 🤔

@VictorCMiraldo
Copy link
Owner Author

TODO:

  • Try compiling with more a more recent GHC version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler-issue Issues related to GHC that we don't have much control over
Projects
None yet
Development

No branches or pull requests

1 participant