logo       

Browsing a module with "exports only" broken: msg#00041

lang.haskell.glasgow.bugs

Subject: Browsing a module with "exports only" broken

Hi,

with the current HEAD version, the following session triggers a small
bug in ghc/compiler/iface/IfaceSyn.hs:

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

Loading package base ... linking ... done.
Skipping Bug ( Bug.hs, Bug.o )
Ok, modules loaded: Bug.
Prelude Bug> :b Bug
ghc-6.3: panic! (the `impossible' happened, GHC version 6.3):
ifaceConDecls Bug.Foo{tc} {- r14o -}


With:

-- Bug.hs
module Bug (Foo) where

data Foo = Foo Int


-Matthias

--
Matthias Neubauer |
Universität Freiburg, Institut für Informatik | tel +49 761 203 8060
Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise