Fix some validation errors.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sat, 4 Jul 2015 07:38:59 +0000 (09:38 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 4 Jul 2015 07:39:59 +0000 (09:39 +0200)
commit889c81c657b5719a8f4091099b7bf186127e9f53
treeb56161ecbd3bea50f8a451301e2aad815e1e0aef
parent6b01d3ce6c681428e7a9865af85685c2a76ba657
Fix some validation errors.

Summary:
This fixes test cases T10019 and T10534

The patch for T10019 should be back-ported to master as well.

Posting via Phab as a way to distribute a patch against the
ghc-7.10 branch, which I don't have push access to.

Test Plan: validate

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie, bgamari, mzero

Differential Revision: https://phabricator.haskell.org/D1036
testsuite/tests/th/T10019.script
testsuite/tests/th/T10019.stdout