#3044: NoImplicitPrelude being ignored by 6.10.1, works in 6.8.2
-----------------------------+----------------------------------------------
Reporter: fasta | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
~/bin/ghci -XNoImplicitPrelude Main.hs results in the module being loaded
Expected result: the module should fail saying that putStrLn cannot be
found/is not in scope.
{{{
module Main where
import Foo
import qualified Prelude as P
main = P.putStrLn []
}}}
{{{
module Foo where
zork = putStrLn "hi"
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3044>
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