[GHC] #10426: matchGroupArity panic with PatternSynonyms
#10426: matchGroupArity panic with PatternSynonyms ---------------------------------------+--------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Keywords: | Operating System: Linux Architecture: x86 | Type of failure: None/Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | ---------------------------------------+--------------------------------- {{{#!hs {-# LANGUAGE PatternSynonyms, ViewPatterns, EmptyCase #-} pattern Id <- (id -> _) where }}} which gives: {{{#!hs % ghc -ignore-dot-ghci tmp.FbbzjZ48OO.hs [1 of 1] Compiling Main ( tmp.FbbzjZ48OO.hs, tmp.FbbzjZ48OO.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.10.0.20150316 for i386-unknown-linux): matchGroupArity Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.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: | -------------------------------------+------------------------------------- Changes (by thomie): * keywords: => PatternSynonyms * cc: mpickering, cactus (added) * os: Linux => Unknown/Multiple * architecture: x86 => Unknown/Multiple Comment: Not fixed yet in ghc-7.11.20151019. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.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 Ben Gamari <ben@…>): In [changeset:"fdb08e2abccf1e02dc2ef91531aebe062d8af82d/ghc" fdb08e2/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="fdb08e2abccf1e02dc2ef91531aebe062d8af82d" Add testcase for #10426 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T10426 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * testcase: => T10426 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T10426 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1665 Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => patch * differential: => Phab:D1665 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T10426 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1665 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Matthew Pickering <matthewtpickering@…>): In [changeset:"8d954125604e4585167306c4f1d4807275be0a61/ghc" 8d954125/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="8d954125604e4585167306c4f1d4807275be0a61" Disallow empty where bindings in pattern synonym declarations. Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1665 GHC Trac Issues: #10426 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: fixed | Keywords: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T10426 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1665 Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10426: matchGroupArity panic with PatternSynonyms -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: fixed | Keywords: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T10426 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1665 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"b55ad1b33a30996a2ec4f85382f9c1cdca42e30f/ghc" b55ad1b3/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="b55ad1b33a30996a2ec4f85382f9c1cdca42e30f" Wibble to error message in Trac #10426 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10426#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC