PostTcType replaced with TypeAnnot
authorAlan Zimmerman <alan.zimm@gmail.com>
Fri, 5 Sep 2014 23:11:04 +0000 (18:11 -0500)
committerAustin Seipp <austin@well-typed.com>
Sat, 6 Sep 2014 15:36:50 +0000 (10:36 -0500)
commit7d3f2dfc7a45d741224c521e0f2a616a89f9506f
tree61465f91bb491c2d922f99345476b26e7ed802ca
parent7bf7ca2b7a0f5ccf379cc035ad1e8bd80ea045f8
PostTcType replaced with TypeAnnot

Summary:
This is a first step toward allowing generic traversals of the AST without 'landmines', by removing the `panic`s located throughout `placeHolderType`, `placeHolderKind` & co.

See more on the discussion at https://www.mail-archive.com/ghc-devs@haskell.org/msg05564.html

(This also makes a corresponding update to the `haddock` submodule.)

Test Plan: `sh validate` and new tests pass.

Reviewers: austin, simonpj, goldfire

Reviewed By: austin, simonpj, goldfire

Subscribers: edsko, Fuuzetsu, thomasw, holzensp, goldfire, simonmar, relrod, ezyang, carter

Projects: #ghc

Differential Revision: https://phabricator.haskell.org/D157
44 files changed:
compiler/deSugar/Check.lhs
compiler/deSugar/DsExpr.lhs
compiler/ghc.cabal.in
compiler/ghc.mk
compiler/hsSyn/Convert.lhs
compiler/hsSyn/HsBinds.lhs
compiler/hsSyn/HsDecls.lhs
compiler/hsSyn/HsExpr.lhs
compiler/hsSyn/HsExpr.lhs-boot
compiler/hsSyn/HsLit.lhs
compiler/hsSyn/HsPat.lhs
compiler/hsSyn/HsPat.lhs-boot
compiler/hsSyn/HsSyn.lhs
compiler/hsSyn/HsTypes.lhs
compiler/hsSyn/HsUtils.lhs
compiler/hsSyn/PlaceHolder.hs [new file with mode: 0644]
compiler/parser/Parser.y.pp
compiler/parser/RdrHsSyn.lhs
compiler/rename/RnBinds.lhs
compiler/rename/RnExpr.lhs
compiler/rename/RnPat.lhs
compiler/rename/RnSource.lhs
compiler/rename/RnSplice.lhs
compiler/rename/RnSplice.lhs-boot
compiler/rename/RnTypes.lhs
compiler/typecheck/Inst.lhs
compiler/typecheck/TcArrows.lhs
compiler/typecheck/TcBinds.lhs
compiler/typecheck/TcGenDeriv.lhs
compiler/typecheck/TcGenGenerics.lhs
compiler/typecheck/TcHsType.lhs
compiler/typecheck/TcPatSyn.lhs
compiler/typecheck/TcRnDriver.lhs
compiler/typecheck/TcTyClsDecls.lhs
testsuite/tests/ghc-api/landmines/.gitignore [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/Makefile [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/MineFixity.hs [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/MineKind.hs [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/MineNames.hs [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/MineType.hs [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/all.T [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/landmines.hs [new file with mode: 0644]
testsuite/tests/ghc-api/landmines/landmines.stdout [new file with mode: 0644]
utils/haddock