Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

DeriveAnyClass language extension #949

Open
timCF opened this issue Apr 1, 2019 · 0 comments
Open

DeriveAnyClass language extension #949

timCF opened this issue Apr 1, 2019 · 0 comments

Comments

@timCF
Copy link

timCF commented Apr 1, 2019

Looks like ghc-mod can't properly handle DeriveAnyClass language extension. If I'm writing code like this

{-# LANGUAGE DeriveAnyClass #-}
deriving instance MyCustomClass MyCustomType

My text editor with ghc-mod plugin says

Unused LANGUAGE pragma
Found:
  {-# LANGUAGE DeriveAnyClass #-}
Why not remove it.

It can be problem with my text editor plugin as well:

OS: Mac
Text editor: Atom 1.35.1
Text editor plugins: haskell-ghc-mod 2.2.5, ide-haskell 2.4.0
GHC-MOD: 5.9.0.0 compiled by GHC 8.2.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant