Re: [GHC] #7175: Panic when wrongly using a type family as return types for GADTs
#7175: Panic when wrongly using a type family as return types for GADTs --+- Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.6.1 Component: Compiler |Version: 7.6.1-rc1 Resolution: fixed| Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Compile-time crash | Difficulty: Unknown Testcase: typecheck/should_fail/T7175 | Blockedby: Blocking: |Related: --+- Changes (by pcapriotti): * status: merge = closed * resolution: = fixed * milestone: = 7.6.1 Comment: Merged as 0d45533cd54ef08fa1e8f432c3f1192c76556504. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7175#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7175: Panic when wrongly using a type family as return types for GADTs
#7175: Panic when wrongly using a type family as return types for GADTs +--- Reporter: goldfire| Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.1-rc1 | Keywords: Os: Unknown/Multiple| Architecture: Unknown/Multiple Failure: Compile-time crash | Testcase: Blockedby: | Blocking: Related: | +--- Comment(by simonpj@…): commit d0ddde58f928a6b156d8061c406226c4fbb7cd22 {{{ Author: Simon Peyton Jones simo...@microsoft.com Date: Wed Aug 29 11:33:33 2012 +0100 Fail earlier if there's an error in a type declaration This change means that we don't recover from erroneous type declarations, thereby reporting fewer errors. But trying to recover confused GHC (leading to a pattern match failure in the compiler Trac #7175), and it turned out to be tricky to fix that. So this patch takes the more conservative path of failing earlier, perhaps reporting fewer real errors. compiler/typecheck/TcTyClsDecls.lhs |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7175#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7175: Panic when wrongly using a type family as return types for GADTs
#7175: Panic when wrongly using a type family as return types for GADTs -+-- Reporter: goldfire | Owner: Type: bug | Status: merge Priority: normal| Milestone: Component: Compiler | Version: 7.6.1-rc1 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Compile-time crash Difficulty: Unknown |Testcase: typecheck/should_fail/T7175 Blockedby:|Blocking: Related:| -+-- Changes (by simonpj): * status: new = merge * difficulty: = Unknown * testcase: = typecheck/should_fail/T7175 Comment: Thanks! Fixed. Pls merge to 7.6 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7175#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs