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

DeriveAnyClass language extension #949

@timCF

Description

@timCF

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions