[GHC] #3382: Panic in tidyNPat when using N+k patterns with
overloaded strings
GHC
trac at galois.com
Wed Jul 22 02:04:15 EDT 2009
#3382: Panic in tidyNPat when using N+k patterns with overloaded strings
-----------------------------------------+----------------------------------
Reporter: batterseapower | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: deSugar/should_run/T3382 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
-----------------------------------------+----------------------------------
Changes (by simonpj):
* testcase: => deSugar/should_run/T3382
* difficulty: => Unknown
* status: new => closed
* resolution: => fixed
Comment:
Ah yes, excellent point. Fixed by
{{{
Mon Jul 20 07:12:26 GMT Daylight Time 2009 simonpj at microsoft.com
* Fix Trac #3382: desugaring of NPats
Max spotted that the short-cut rules for desugaring NPats (where
we compare against a literal) were wrong now that we have overloaded
strings.
}}}
thanks
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3382#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list