You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Internal Happy error exception gives a CallStack that is most unhelpful, as it only gives the location of the error function used in the generated code. This could be slightly improved by having HasCallStack pragmas earlier in the program.
Moreover, more information about has failed would be appreciated. Currently I get
λ❯ runAlex "let example = 42" parseMiniML
*** Exception: Internal Happy error
CallStack (from HasCallStack):
error, called at /home/hecate/Code/Compiler Experiments/qamar/dist-newstyle/build/x86_64-linux/ghc-9.2.4/qamar-0.1.0.0/build/Parser.hs:1441:17 in qamar-0.1.0.0-inplace:Parser
and it's quite unbecoming.
The text was updated successfully, but these errors were encountered:
Frankly, if you see this error then there's a bug in happy that you should report. You can't do anything about it and you are not using happy in a wrong way (at least I don't think that you are).
Did you see this error in conjunction with -XStrictData? Then this issue the same as #273, for which I provide a fix in #289.
The
Internal Happy error
exception gives a CallStack that is most unhelpful, as it only gives the location of theerror
function used in the generated code. This could be slightly improved by havingHasCallStack
pragmas earlier in the program.Moreover, more information about has failed would be appreciated. Currently I get
and it's quite unbecoming.
The text was updated successfully, but these errors were encountered: