Skip to content

Missplaced overlapping pragmas make module misparse

module Issue where

{-# overlapping is better avoided #-}
class Foo a where
    foo :: a
[1 of 1] Compiling Issue            ( Issue.hs, interpreted )

Issue.hs:3:1: error: [GHC-58481]
    parse error on input ‘{-# overlapping’
  |
3 | {-# overlapping is better avoided #-}
  | ^^^^^^^^^^^^^^^
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information