logo       

ghc-5.05 / template haskell bug: msg#00019

lang.haskell.glasgow.bugs

Subject: ghc-5.05 / template haskell bug

Hi,

while experimenting with template haskell I encountered the following:

] ghc --make Main.hs
] Chasing modules from: Main.hs
] Skipping Power ( Power.hs, ./Power.o )
] Compiling Main ( Main.hs, ./Main.o )
] ghc-5.05: panic! (the `impossible' happened, GHC version 5.05):
] nameModule x {- v a1fV -}
]
] Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx,
] or http://sourceforge.net/projects/ghc/.
]
]
] make: *** [main] Error 1

This was using a version very recently checked out of CVS (Friday, 14 March)

The files that caused the problem are attached.

--
Tom Harke
Computer Science and Engineering Department
Oregon Graduate Institute

Weiler's Law:
Nothing is impossible for the man who doesn't have to do it himself

Attachment: Power.hs
Description: Text document

Attachment: Main.hs
Description: Text document

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

News | FAQ | advertise