[GHC] #13726: Declaring GADT constructor and associated data family with the same name gives weird error

#13726: Declaring GADT constructor and associated data family with the same name gives weird error -------------------------------------+------------------------------------- Reporter: mrkgnao | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The code this is from is really messy. I'll submit a minimal example in a short while if this isn't a known bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13726 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13726: Declaring GADT constructor and associated data family with the same name gives weird error -------------------------------------+------------------------------------- Reporter: mrkgnao | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Resolution: | Keywords: 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 mrkgnao): * component: Compiler => Compiler (Type checker) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13726#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13726: Declaring GADT constructor and associated data family with the same name gives weird error -------------------------------------+------------------------------------- Reporter: mrkgnao | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by mrkgnao: @@ -2,1 +2,2 @@ - short while if this isn't a known bug. + short while if this isn't a known bug fixed in 8.2.1. GHC complains about + the kinds not matching instead of giving a "multiple definitions" error. New description: The code this is from is really messy. I'll submit a minimal example in a short while if this isn't a known bug fixed in 8.2.1. GHC complains about the kinds not matching instead of giving a "multiple definitions" error. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13726#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13726: Declaring GADT constructor and associated data family with the same name gives weird error -------------------------------------+------------------------------------- Reporter: mrkgnao | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Resolution: | Keywords: 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 RyanGlScott): * status: new => infoneeded Comment: Please do submit a minimal example, as I can't deduce what program you're trying to run, and the description of the error message is sufficiently vague that I can't identify what the problem is. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13726#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13726: Declaring GADT constructor and associated data family with the same name gives weird error -------------------------------------+------------------------------------- Reporter: mrkgnao | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Resolution: | Keywords: 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 RyanGlScott): Any update on this, mkrgnao? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13726#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC