[GHC] #642: ghci 6.5 (HEAD) starts with wrong module in scope

GHC trac at galois.com
Mon Dec 26 07:19:18 EST 2005


#642: ghci 6.5 (HEAD) starts with wrong module in scope
-----------------------------+----------------------------------------------
    Reporter:  vs at foldr.org  |        Owner:         
        Type:  bug           |       Status:  new    
    Priority:  low           |    Milestone:         
   Component:  GHCi          |      Version:         
    Severity:  minor         |     Keywords:         
          Os:  Unknown       |   Difficulty:  Unknown
Architecture:  Unknown       |  
-----------------------------+----------------------------------------------
If I load "Foo.hs", I'd expect GHCi to end up using Module Foo as scope,
 not one of its imports:

 > ghci -fglasgow-exts LTL.hs
    ___         ___ _
   / _ \ /\  /\/ __(_)
  / /_\// /_/ / /  | |      GHC Interactive, version 6.5, for Haskell 98.
 / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
 \____/\/ /_/\____/|_|      Type :? for help.

 Loading package base-1.0 ... linking ... done.
 [1 of 2] Compiling Clause           ( Clause.hs, interpreted )
 [2 of 2] Compiling LTL              ( LTL.hs, interpreted )
 Ok, modules loaded: Clause, LTL.
 *Clause>

 ^^^ should be LTL. (GHCi as of 2005-12-22)

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


More information about the Glasgow-haskell-bugs mailing list