[GHC] #12158: ghc: panic! (the 'impossible' happened) translateConPatVec: lookup
GHC
ghc-devs at haskell.org
Wed Jun 8 23:06:40 UTC 2016
#12158: ghc: panic! (the 'impossible' happened) translateConPatVec: lookup
-------------------------------------+-------------------------------------
Reporter: wozgonon | Owner: gkaracha
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
| PatternMatchWarnings
Operating System: Windows | Architecture: x86_64
Type of failure: Compile-time | (amd64)
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by gkaracha):
Replying to [comment:5 simonpj]:
> George, might you look at this? It's in the pattern-match checker.
Yes, I will take a look. It seems that the usage of the same name makes
the checker crash for some reason, since the following
{{{#!hs
price' Stock{name=n,ric=r,price=p} = p
}}}
does not crash.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12158#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list