[GHC] #14507: Core Lint error with Type.Reflection and pattern synonyms
GHC
ghc-devs at haskell.org
Wed Nov 22 01:48:43 UTC 2017
#14507: Core Lint error with Type.Reflection and pattern synonyms
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
| PatternSynonyms
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dobenour):
You should ''never'' get a failure in Core Lint, so this is definitely a
bug. Moving to highest priority.
This is obviously a bug in either the type checker or the desugarer.
Either the type checker is accepting garbage or the desugarer is messing
up. My instinct says to blame the desugarer – a type variable out of
scope doesn’t make any sense at all.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14507#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list