|
[ ghc-Bugs-1162969 ] Over-zealous dup-import warning: msg#00066lang.haskell.glasgow.bugs
Bugs item #1162969, was opened at 2005-03-14 12:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1162969&group_id=8032 Category: Compiler Group: None Status: Open Resolution: None Priority: 4 Submitted By: Simon Peyton Jones (simonpj) Assigned to: Simon Peyton Jones (simonpj) Summary: Over-zealous dup-import warning Initial Comment: Pointed out by John Meacham [john@xxxxxxxxxxx] In 6.4 the duplicate import warning seems to be triggered overzealously, even when one import is qualified and the other isn't. import qualified Data.Map import Data.Map(Map) foo :: Map Int Int foo = Data.Map.empty main = do print foo produces: Foo.hs:1:0: Warning: `Map' is imported more than once: imported from Data.Map at Foo.hs:3:16-18 imported from Data.Map at Foo.hs:2:0-24 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1162969&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1162965 ] Exponential behaviour with type synonyms, SourceForge.net |
|---|---|
| Next by Date: | RE: 'type' declarations, Simon Peyton-Jones |
| Previous by Thread: | [ ghc-Bugs-1162965 ] Exponential behaviour with type synonyms, SourceForge.net |
| Next by Thread: | RE: 'type' declarations, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |