-
Notifications
You must be signed in to change notification settings - Fork 84
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
happy-2.0.2
regresses language-python-0.5.8
#316
Comments
Huh that looks like an older bug that happened when the GHC unboxed number one was changing. I didn't think anything happened relative this since the last |
I can confirm that the same project builds with |
@bgamari Can you diff the generated parsers? |
Very strange. It must be this line from the template: happy/lib/data/HappyTemplate.hs Line 127 in 1f92300
But we test this code path quite extensively on GHC 9.6 and lower. Is there anything special about the architecture? 32 bit? (The diff appears to be incomplete, btw. Not that it matters.) |
That's because of https://github.com/bjpop/language-python/blob/8e0a43ddfd1b9e22d104ece01333706d0fe71e04/language-python/src/Language/Python/Version2/Parser/Parser.y#L4-L5 #undef __GLASGOW_HASKELL__
#define __GLASGOW_HASKELL__ 709 |
I've seen this ugly hack used in the wild more than once to work around #109. For this particular instance see discussion at bjpop/language-python#41. Instead of |
Oof, that is awful. Good catch, @Bodigrim . |
OK whew, I am glad this wasn't a crazy bug in happy itself :) |
Using GHC 9.6.5.
The text was updated successfully, but these errors were encountered: