#5696: haskell98-2.0.0.0:Prelude can't be safely imported! The module itself 
isn't
safe.
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                     
     Type:  bug               |         Status:  new                
 Priority:  normal            |      Component:  libraries/haskell98
  Version:                    |       Keywords:                     
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple   
  Failure:  None/Unknown      |       Testcase:                     
Blockedby:                    |       Blocking:                     
  Related:                    |  
------------------------------+---------------------------------------------
 If base-4.4.1.0:Prelude can be considered trustworthy, so should
 haskell98-2.0.0.0:Prelude, shouldn't it?


 $ ghc-7.2.2 --make Hello.hs -hide-package base -package haskell98 -XSafe

 [1 of 1] Compiling Main             ( Hello.hs, Hello.o )

 Implicit import declaration:
     haskell98-2.0.0.0:Prelude can't be safely imported! The module itself
 isn't safe.

 $ cat Hello.hs
 main = putStrLn "Hello, world!"

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5696>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to