double arrows causes a panic
Trying to load code like the following:
test = proc inp -> show -< id -< inp
will cause both ghc and ghci to panic with this message:
ghc-6.2: panic! (the `impossible' happened, GHC version
6.2):
tcMonoExpr GHCziBase.id {- v r8k -} -< inp {- v
aPp -}
As far as I can tell, it's the "a -< b -< c" that's
causing problems.
- abe.egnor@gmail.com
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedFixed |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |