Skip to content
New issue

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

The import of ‘TcType’ is redundant #44

Closed
philderbeast opened this issue May 19, 2018 · 1 comment
Closed

The import of ‘TcType’ is redundant #44

philderbeast opened this issue May 19, 2018 · 1 comment

Comments

@philderbeast
Copy link
Collaborator

philderbeast commented May 19, 2018

In getting ready for the add to stackage #13, I encountered a build warning;

> git clone https://github.com/adamgundry/uom-plugin.git
> cd uom-plugin
> stack build --test --bench --haddock --resolver lts-11.9
/.../uom-plugin/uom-plugin/src/Data/UnitsOfMeasure/Plugin/Convert.hs:12:1:
warning: [-Wunused-imports]
    The import of ‘TcType’ is redundant
      except perhaps to import instances from ‘TcType’
    To import instances alone, use: import TcType()
   |
12 | import TcType
   | ^^^^^^^^^^^^^
@adamgundry
Copy link
Owner

Fixed by #45. Thanks!

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

No branches or pull requests

2 participants