compiler bug report
Hal Daume
hdaume at ISI.EDU
Wed Aug 1 13:57:15 EDT 2001
I can't reliably repro the bug, but it happens to me a *lot*. At least
one every hour or two...not only on that file...I don't think it happens
if I delete all the .o files...not sure though...
- Hal
Simon Marlow wrote:
>
> Hi there,
>
> Thanks for the report. I can't repro the bug though - after I commented
> out the definition of beginWithBy at the end of Util.hs (it had some
> type errors), and tried the exact same sequence of commands in ghci, it
> happily re-loaded Util.o at the end.
>
> Is there any more information you can provide that will help us to repro
> it?
>
> Cheers,
> Simon
>
> > Here is a transcript:
> > ----------------
> > enescu:/nfs/isd/hdaume/stat-sum-ulf 54% ghci -package lang
> > ghci -package lang
> > ___ ___ _
> > / _ \ /\ /\/ __(_)
> > / /_\// /_/ / / | | GHC Interactive, version 5.00.2,
> > For Haskell
> > 98.
> > / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> > \____/\/ /_/\____/|_| Type :? for help.
> >
> > Loading package std ... linking ... done.
> > Loading package lang ... linking ... done.
> > Prelude> :l Util
> > :l Util
> > Skipping Util ( Util.hs, ./Util.o )
> > Ok, modules loaded: Util.
> > Util> List.[]
> > List.[]
> >
> > Ambiguous type variable(s) `t' in the constraint `PrelShow.Show t'
> > arising from use of `PrelIO.print' at <No locn>
> > in a `do' expression pattern binding: PrelIO.print it
> > Util> `eq`
> > `eq`
> > <no file>:0: parse error on input ``'
> > Util> 3 `eq` 4
> > 3 `eq` 4
> >
> > <no file>:0: Variable not in scope: `eq'
> > Util> :l Util
> > :l Util
> > unloadObj: can't find `./Util.o' to unload
> > ghc-5.00.2: panic! (the `impossible' happened, GHC version 5.00.2):
> > unloadObj: failed
> >
> > Please report it as a compiler bug to
> > glasgow-haskell-bugs at haskell.org,
> > or http://sourceforge.net/projects/ghc/.
> >
> >
> > Util>
> > -------------
> >
> > I'm not sure exactly what went wrong, but here's a copy of Util.hs...
> >
> > --
> > Hal Daume III
> >
> > "Computer science is no more about computers | hdaume at isi.edu
> > than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
> >
--
Hal Daume III
"Computer science is no more about computers | hdaume at isi.edu
than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
More information about the Glasgow-haskell-bugs
mailing list