We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Haskell printer generator should not use the deprecated OverlappingInstances extension on recent GHCs. E.g., on ghc-8.2:
OverlappingInstances
CPP/Print.hs:1:33: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 1 | {-# LANGUAGE FlexibleInstances, OverlappingInstances #-} | ^^^^^^^^^^^^^^^^^^^^
For backwards compatiblity, we could use #if pragmas.
#if
From ghc-8.6 on, OverlappingInstances may trigger an error.
The text was updated successfully, but these errors were encountered:
I am changing the Haskell backend to use the {-# OVERLAPPABLE #-} pragma. As a consequence, BNFC-2.8.3 will only work for GHC >= 7.10.
{-# OVERLAPPABLE #-}
Sorry, something went wrong.
46aa7c7
[ #233 ] Retain compatibility with GHC 7.6
bf5a452
andreasabel
No branches or pull requests
Haskell printer generator should not use the deprecated
OverlappingInstances
extension on recent GHCs. E.g., on ghc-8.2:For backwards compatiblity, we could use
#if
pragmas.From ghc-8.6 on,
OverlappingInstances
may trigger an error.The text was updated successfully, but these errors were encountered: