766bd6bb

By: Greg Pfeil <greg@technomadic.org>

Report compile error, don’t panic

GHC has no reason to expect an `ErrorCall` from a Core pass, so it caught it as
an internal failure and printed

    panic! (the 'impossible' happened)
      GHC version 9.10.3:
        encountered recursion, which has been disabled:

followed by an invitation to report a GHC bug. This now reports an error
correctly.

The message itself is unchanged. Clears all four failures the previous commit
landed.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 9s 9s 11s 2s
Eval 7s 37s 37s 44s 0s
Build 25s 7m18s 1m47s 2m12s 0s
Suite 2s 8m05s 2m10s 2m12s 2s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m2m10s