[GHC] #7959: Panic on deriving nullary typeclass

#7959: Panic on deriving nullary typeclass -------------------------------+-------------------------------------------- Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Compile-time crash | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- {{{ {-# LANGUAGE NullaryTypeClasses #-} class C }}} Both `data A deriving C` and `deriving instance C` cause panic. Patch attached. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7959 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7959: Panic on deriving nullary typeclass -------------------------------+-------------------------------------------- Reporter: monoidal | Owner: Type: bug | Status: patch Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Compile-time crash | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by monoidal): * status: new => patch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7959#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7959: Panic on deriving nullary typeclass ---------------------------------+------------------------------------------ Reporter: monoidal | Owner: simonpj Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.7 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Compile-time crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by simonpj): * owner: => simonpj * difficulty: => Unknown -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7959#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7959: Panic on deriving nullary typeclass
---------------------------------+------------------------------------------
Reporter: monoidal | Owner: simonpj
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Compile-time crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by krz.gogolewski@…):
commit 967f746994802f50011a03c983417a6fca18de27
{{{
Author: Krzysztof Gogolewski

#7959: Panic on deriving nullary typeclass -----------------------------------------+---------------------------------- Reporter: monoidal | Owner: simonpj Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Compile-time crash | Difficulty: Unknown Testcase: deriving/should_fail/T7959 | Blockedby: Blocking: | Related: -----------------------------------------+---------------------------------- Changes (by simonpj): * status: patch => closed * testcase: => deriving/should_fail/T7959 * resolution: => fixed -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7959#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC