Test Trac #14488
authorVladislav Zavialov <vlad.z.4096@gmail.com>
Tue, 21 Nov 2017 23:28:21 +0000 (18:28 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 22 Nov 2017 02:11:16 +0000 (21:11 -0500)
commit0db4627b8baf3255cf16725f8acdd69e27f0ab85
treeb2c2742ca62004001e74866a0897d03a4e8a2227
parentdad9864211a87bb23ae6efe0a2dd56f0eaa85601
Test Trac #14488

Summary:
The refactoring in 3f5673f34a2f761423027bf46f64f7499708725f also fixed a
previously unreported issue in the typechecker that prevented defining a
lens to a record field with a constraint. This patch adds a regression
test.

Test Plan: make test TEST=14488

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: int-e, rwbarton, thomie

GHC Trac Issues: #14488

Differential Revision: https://phabricator.haskell.org/D4213
testsuite/tests/typecheck/should_compile/T14488.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T