Fix #11405.
authorRichard Eisenberg <eir@cis.upenn.edu>
Thu, 14 Jan 2016 22:48:42 +0000 (17:48 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 15 Jan 2016 20:43:45 +0000 (15:43 -0500)
commit3c6635ef4561ab53e51d7187c966b628a972b261
treec3c39d7f5a54c187a965918126590584ab31d3b9
parent80b4c71c5fc8ae005f6fb73d900b225366c4d3cc
Fix #11405.

This adds a new variant of AbsBinds that is used solely for bindings
with a type signature. This allows for a simpler desugaring that
does not produce the bogus output that tripped up Core Lint in
ticket #11405. Should make other desugarings simpler, too.
12 files changed:
compiler/deSugar/Coverage.hs
compiler/deSugar/DsBinds.hs
compiler/deSugar/DsExpr.hs
compiler/deSugar/DsMeta.hs
compiler/hsSyn/HsBinds.hs
compiler/hsSyn/HsUtils.hs
compiler/main/DynFlags.hs
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcHsSyn.hs
testsuite/tests/dependent/should_compile/all.T
testsuite/tests/ghc-api/T6145.hs
utils/ghctags/Main.hs