[commit: ghc] master: Two buglets in record wild-cards (Trac #9436 and #9437) (06600e7)
git at git.haskell.org
git at git.haskell.org
Mon Aug 25 14:18:35 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/06600e74444d22caff1fa8c7eef0e4e2debd60b9/ghc
>---------------------------------------------------------------
commit 06600e74444d22caff1fa8c7eef0e4e2debd60b9
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon Aug 25 15:17:39 2014 +0100
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.
>---------------------------------------------------------------
06600e74444d22caff1fa8c7eef0e4e2debd60b9
compiler/parser/RdrHsSyn.lhs | 8 +++---
compiler/rename/RnExpr.lhs | 2 +-
compiler/rename/RnPat.lhs | 33 ++++++++++++++++++-------
testsuite/tests/rename/should_fail/T9436.hs | 8 ++++++
testsuite/tests/rename/should_fail/T9436.stderr | 4 +++
testsuite/tests/rename/should_fail/T9437.hs | 8 ++++++
testsuite/tests/rename/should_fail/T9437.stderr | 2 ++
testsuite/tests/rename/should_fail/all.T | 2 ++
8 files changed, 53 insertions(+), 14 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 06600e74444d22caff1fa8c7eef0e4e2debd60b9
More information about the ghc-commits
mailing list