logo       

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

lang.haskell.glasgow.bugs

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

#642: ghci 6.5 (HEAD) starts with wrong module in scope
-----------------------------+----------------------------------------------
Reporter: vs@xxxxxxxxx | 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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise