[GHC] #11336: GHC craches on this combination of ViewPatterns and PatternSynonyms
GHC
ghc-devs at haskell.org
Sat Jan 2 12:27:15 UTC 2016
#11336: GHC craches on this combination of ViewPatterns and PatternSynonyms
-------------------------------------+-------------------------------------
Reporter: baramoglo | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Compile-time
Unknown/Multiple | crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
The attached file crashes:
{{{
$ ghc Bug.hs
[1 of 1] Compiling Bug ( Bug.hs, Bug.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.2 for x86_64-unknown-linux):
Prelude.last: empty list
}}}
I wasn't able to shrink the example further despite many attepts.
Tested on GHC 7.8.3 and 7.10.2.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11336>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list