[commit: ghc] master: Refactoring around TyCon.isSynTyCon (022f875)
git at git.haskell.org
git at git.haskell.org
Thu May 15 15:07:36 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/022f8750edf6f413fba31293435dcc62600eab77/ghc
>---------------------------------------------------------------
commit 022f8750edf6f413fba31293435dcc62600eab77
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu May 15 16:07:04 2014 +0100
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.
>---------------------------------------------------------------
022f8750edf6f413fba31293435dcc62600eab77
compiler/main/PprTyThing.hs | 2 +-
compiler/typecheck/TcDeriv.lhs | 1 +
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 ++++++++++++++++++++-----------------
8 files changed, 45 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 022f8750edf6f413fba31293435dcc62600eab77
More information about the ghc-commits
mailing list