Redundant import warnings
Simon Peyton Jones
simonpj at microsoft.com
Mon Sep 17 11:46:46 UTC 2018
Edward
Can you perhaps bring the core libraries committee to consensus on this (I think minor) issue, and we can then get on with implementing it?
Many thanks -- hope to se you at ICFP.
Simon
| -----Original Message-----
| From: haskell-core-libraries at googlegroups.com <haskell-core-
| libraries at googlegroups.com> On Behalf Of GHC
| Sent: 17 September 2018 01:49
| Subject: [core libraries] Re: [GHC] #13064: Incorrect redudant imports
| warning
|
| #13064: Incorrect redudant imports warning
| -------------------------------------+----------------------------------
| ---
| Reporter: phadej | Owner: (none)
| Type: bug | Status: new
| Priority: low | Milestone: 8.8.1
| Component: Compiler | Version: 8.0.1
| Resolution: | Keywords:
| Operating System: Unknown/Multiple | Architecture:
| Type of failure: Incorrect | Unknown/Multiple
| error/warning at compile-time | Test Case:
| Blocked By: | Blocking:
| Related Tickets: #15393 | Differential Rev(s):
| Wiki Page: |
| -------------------------------------+----------------------------------
| ---
|
| Comment (by RyanGlScott):
|
| To follow up on my proposed experiment (in comment:29), I built about
| 143
| commonly used Hackage libraries using the `wip/T13064` GHC branch. Of
| those 143, I noticed new warnings being emitted in 31 of them (~22%):
|
| {{{
| - adjunctions-4.4
| - aeson-1.4.0.0
| - ansi-wl-pprint-0.6.8.2
| - asn1-encoding-0.9.5
| - async-2.2.1
| - attoparsec-0.13.2.2
| - blaze-builder-0.4.1.0
| - cassava-0.5.1.0
| - conduit-1.3.0.3
| - cookie-0.4.4
| - foundation-0.0.21
| - Glob-0.9.2
| - haskell-src-exts-1.20.2
| - hspec-core-2.5.6
| - lens-4.17
| - math-functions-0.3.0.2
| - memory-0.14.16
| - microstache-1.0.1.1
| - mono-traversable-1.0.9.0
| - network-2.8.0.0
| - primitive-0.6.4.0
| - resourcet-1.2.1
| - scientific-0.3.6.2
| - tasty-1.1.0.3
| - th-orphans-0.13.6
| - unordered-containers-0.2.9.0
| - uuid-types-1.0.3
| - x509-1.7.4
| - x509-store-1.6.6
| - x509-system-1.6.6
| - yaml-0.10.1.1
| }}}
|
| I still advocate adopting this change, but it is worth noting that a
| non-
| trivial number of existing libraries will need to be updated in order
| to
| accommodate the new warnings.
|
| --
| Ticket URL:
| <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.has
| kell.org%2Ftrac%2Fghc%2Fticket%2F13064%23comment%3A36&data=02%7C01%7
| Csimonpj%40microsoft.com%7C24e789bc20ae453ead6408d61c374eb2%7C72f988bf86
| f141af91ab2d7cd011db47%7C1%7C0%7C636727421200703644&sdata=bN0jeTbzDk
| GwItLs7gfnlmNsbfvpx2LQ7VU5g7JeSwg%3D&reserved=0>
| GHC
| <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.has
| kell.org%2Fghc%2F&data=02%7C01%7Csimonpj%40microsoft.com%7C24e789bc2
| 0ae453ead6408d61c374eb2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636
| 727421200703644&sdata=tOARXvDO6s7m4WDjdmcNPfh2qvgusCc3qKrrUPRag9I%3D
| &reserved=0>
| The Glasgow Haskell Compiler
|
| --
| You received this message because you are subscribed to the Google
| Groups "haskell-core-libraries" group.
| To unsubscribe from this group and stop receiving emails from it, send
| an email to haskell-core-libraries+unsubscribe at googlegroups.com.
| For more options, visit
| https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.
| google.com%2Fd%2Foptout&data=02%7C01%7Csimonpj%40microsoft.com%7C24e
| 789bc20ae453ead6408d61c374eb2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0
| %7C636727421200703644&sdata=mvmddMlq2QoOaxTDZTcwv8wiMlv8VtKOYyggrrAD
| 2gA%3D&reserved=0.
More information about the ghc-devs
mailing list