Browsing a module with "exports only" broken
Matthias Neubauer
neubauer at informatik.uni-freiburg.de
Tue Jul 27 13:13:02 EDT 2004
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
More information about the Glasgow-haskell-bugs
mailing list