Browsing a module with "exports only" broken

Simon Peyton-Jones simonpj at microsoft.com
Wed Jul 28 09:00:35 EDT 2004


Excellent point.  Now fixed.  Thanks for the report.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org [mailto:glasgow-haskell-bugs-
| bounces at haskell.org] On Behalf Of Matthias Neubauer
| Sent: 27 July 2004 18:13
| To: glasgow-haskell-bugs at haskell.org
| 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
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



More information about the Glasgow-haskell-bugs mailing list