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

[IMRF-92] Top level TemplateHaskell usages considered unused #46

Open
chshersh opened this issue Aug 11, 2017 · 0 comments
Open

[IMRF-92] Top level TemplateHaskell usages considered unused #46

chshersh opened this issue Aug 11, 2017 · 0 comments

Comments

@chshersh
Copy link
Contributor

See next example:

{-# LANGUAGE TemplateHaskell #-}

import Control.Lens (makeLenses)

data Foo = Foo { _foo :: Int }

makeLenses ''Foo

In this case makeLenses is considered unused and removed by importify. This happens because of this bug in haskell-name library: haskell-suite/haskell-names#98

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

No branches or pull requests

1 participant