[commit: ghc] ghc-7.8: Refactoring around TyCon.isSynTyCon (5c97e93)
git at git.haskell.org
git at git.haskell.org
Wed Jul 2 17:39:38 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/5c97e932df780d3679da9a64676fe2af944e5c94/ghc
>---------------------------------------------------------------
commit 5c97e932df780d3679da9a64676fe2af944e5c94
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Jul 2 12:18:41 2014 -0500
Refactoring around TyCon.isSynTyCon
* Document isSynTyCon better
* Add isTypeSyonymTyCon for regular H98 type synonyms
* Use isTypeSynonymTyCon rather than isSynTyCon where
the former is really intended
All arose as part of a bug I introduced when fixing Trac #9102,
thinking that isSynTyCon meant H98 type syononyms.
(cherry picked from commit 022f8750edf6f413fba31293435dcc62600eab77)
>---------------------------------------------------------------
5c97e932df780d3679da9a64676fe2af944e5c94
compiler/main/PprTyThing.hs | 2 +-
compiler/typecheck/TcInstDcls.lhs | 7 +++---
compiler/typecheck/TcTyClsDecls.lhs | 20 ++++++++---------
compiler/typecheck/TcTyDecls.lhs | 8 +++----
compiler/typecheck/TcType.lhs | 2 +-
compiler/typecheck/TcValidity.lhs | 2 +-
compiler/types/TyCon.lhs | 45 ++++++++++++++++++++-----------------
7 files changed, 44 insertions(+), 42 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5c97e932df780d3679da9a64676fe2af944e5c94
More information about the ghc-commits
mailing list