Opened 2 years ago

Closed 2 years ago

#8640 closed bug (fixed)

:show imports ignores -XNoImplicitPrelude

Reported by: monoidal Owned by:
Priority: normal Milestone:
Component: GHCi Version: 7.6.3
Keywords: Cc: hvr
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: ghci/scripts/T8640
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The implicit import should not be shown:

$ ghci -XNoImplicitPrelude
> :show imports 
import Prelude -- implicit

Change History (3)

comment:1 Changed 2 years ago by Simon Peyton Jones <simonpj@…>

In c93d664baa552e43c915e995663aa624bcfcd6ff/ghc:

In ':show imports' take account of -XNoImplicitPrelude

Fixes Trac #8640

comment:2 Changed 2 years ago by Simon Peyton Jones <simonpj@…>

comment:3 Changed 2 years ago by simonpj

  • Resolution set to fixed
  • Status changed from new to closed
  • Test Case set to ghci/scripts/T8640

Thanks, great example.


Note: See TracTickets for help on using tickets.