[commit: ghc] master: Change role annotation syntax. (f4046b5)

git at git.haskell.org git at git.haskell.org
Wed Sep 18 03:39:54 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f4046b508a5a71ff2e28f438b30048867dbad428/ghc

>---------------------------------------------------------------

commit f4046b508a5a71ff2e28f438b30048867dbad428
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Wed Sep 11 00:52:56 2013 -0400

    Change role annotation syntax.
    
    This fixes bugs #8185, #8234, and #8246. The new syntax is explained
    in the comments to #8185, appears in the "Roles" subsection of the
    manual, and on the [wiki:Roles] wiki page.
    
    This change also removes the ability for a role annotation on type
    synonyms, as noted in #8234.


>---------------------------------------------------------------

f4046b508a5a71ff2e28f438b30048867dbad428
 compiler/deSugar/DsMeta.hs                |  140 ++++++++++----------
 compiler/hsSyn/Convert.lhs                |   29 ++---
 compiler/hsSyn/HsDecls.lhs                |   72 +++++++++--
 compiler/hsSyn/HsTypes.lhs                |   26 ++--
 compiler/hsSyn/HsUtils.lhs                |    6 +-
 compiler/iface/IfaceSyn.lhs               |   31 +++--
 compiler/iface/IfaceType.lhs              |   13 +-
 compiler/parser/Lexer.x                   |   58 ++++-----
 compiler/parser/Parser.y.pp               |   57 ++++----
 compiler/parser/ParserCore.y              |    2 +-
 compiler/parser/RdrHsSyn.lhs              |   43 ++++--
 compiler/rename/RnEnv.lhs                 |   22 +++-
 compiler/rename/RnNames.lhs               |    2 +-
 compiler/rename/RnSource.lhs              |  110 +++++++++++++---
 compiler/rename/RnTypes.lhs               |   43 ++----
 compiler/typecheck/TcHsType.lhs           |   86 ++++++------
 compiler/typecheck/TcInstDcls.lhs         |    4 +-
 compiler/typecheck/TcRnDriver.lhs         |   10 +-
 compiler/typecheck/TcSplice.lhs           |   49 ++++---
 compiler/typecheck/TcTyClsDecls.lhs       |  201 ++++++++++++++---------------
 compiler/typecheck/TcTyDecls.lhs          |   68 ++++++----
 compiler/types/CoAxiom.lhs                |   18 +--
 compiler/types/Coercion.lhs               |    6 +-
 compiler/types/TyCon.lhs                  |   11 +-
 docs/users_guide/glasgow_exts.xml         |  151 ++++++++++++----------
 docs/users_guide/separate_compilation.xml |    1 +
 utils/ghctags/Main.hs                     |    2 +-
 27 files changed, 729 insertions(+), 532 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 f4046b508a5a71ff2e28f438b30048867dbad428



More information about the ghc-commits mailing list