logo       

RE: Browsing a module with "exports only" broken: msg#00042

lang.haskell.glasgow.bugs

Subject: RE: Browsing a module with "exports only" broken

Excellent point. Now fixed. Thanks for the report.

Simon

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


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

News | FAQ | advertise