Ticket #642 (closed bug: fixed)

Opened 7 years ago

Last modified 5 years ago

ghci 6.5 (HEAD) starts with wrong module in scope

Reported by: vs@… Owned by:
Priority: low Milestone:
Component: GHCi Version:
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonmar) (diff)

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)

Change History

Changed 7 years ago by simonmar

  • description modified (diff)

Changed 7 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Fixed, thanks.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.