[GHC] #13435: Segfaults on levity-polymorphic type class
GHC
ghc-devs at haskell.org
Fri Mar 17 13:06:01 UTC 2017
#13435: Segfaults on levity-polymorphic type class
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
| LevityPolymorphism
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 dfeuer):
I believe the type checker should reject that class declaration. I'm not
an expert at levity polymorphism, but I ''think'' class methods are
supposed to have uniform calling conventions.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13435#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list