Closed Kleidukos closed 2 months ago
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.
Yes it must have been in conjunction with -XStrictData
. See https://gist.github.com/heitor-lassarote/9cc4203990352f5df5f6b84da9291df9?permalink_comment_id=4306546#gistcomment-4306546
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.