[GHC] #13726: Declaring GADT constructor and associated data family with the same name gives weird error
GHC
ghc-devs at haskell.org
Fri May 19 07:29:30 UTC 2017
#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
More information about the ghc-tickets
mailing list