Two buglets in record wild-cards (Trac #9436 and #9437)
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 25 Aug 2014 14:17:39 +0000 (15:17 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 25 Aug 2014 14:18:06 +0000 (15:18 +0100)
commit06600e74444d22caff1fa8c7eef0e4e2debd60b9
tree2a1960a0d15fed5b52ad91aff998bd2fc5b681d4
parentee4501bbad6480509e8a60b5ff89c0b0b228b66d
Two buglets in record wild-cards (Trac #9436 and #9437)

of named fields, whereas the code in RnPat.rnHsRecFields is
much better set up to do so.

Both easily fixed.
compiler/parser/RdrHsSyn.lhs
compiler/rename/RnExpr.lhs
compiler/rename/RnPat.lhs
testsuite/tests/rename/should_fail/T9436.hs [new file with mode: 0644]
testsuite/tests/rename/should_fail/T9436.stderr [new file with mode: 0644]
testsuite/tests/rename/should_fail/T9437.hs [new file with mode: 0644]
testsuite/tests/rename/should_fail/T9437.stderr [new file with mode: 0644]
testsuite/tests/rename/should_fail/all.T