[GHC] #5719: Empty tuple doesn't have kind Constraint
GHC
cvs-ghc at haskell.org
Fri Dec 23 18:57:49 CET 2011
#5719: Empty tuple doesn't have kind Constraint
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.3
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonpj@…):
commit 416c5903f3b8cf4cdd4a03c8949489df18cd790a
{{{
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Dec 23 16:05:48 2011 +0000
Use HsTupleTy [] for unit tuples, uniformly
This is just a tidy-up triggered by #5719. We were parsing () as a
type constructor, rather than as a HsTupleTy, but it's better dealt
with uniformly as the former, I think. Somewhat a matter of taste.
compiler/hsSyn/HsTypes.lhs | 13 +++++++++++++
compiler/parser/Parser.y.pp | 30 ++++++++++++++++--------------
compiler/parser/RdrHsSyn.lhs | 22 +++++++++++-----------
compiler/typecheck/TcHsType.lhs | 12 ++++--------
4 files changed, 44 insertions(+), 33 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5719#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list