Treat all TyCon with hole names as skolem abstract.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 24 Feb 2017 23:58:09 +0000 (15:58 -0800)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Mon, 27 Feb 2017 00:03:13 +0000 (16:03 -0800)
commit9603de6ac7a75ea7c620ce05e3c5f500bcaf5dd6
tree1cf0815d3daed8c806604d8ffabd09239d087b29
parent5c95e6b7c2790c192720ba5a533d6d11fad570f8
Treat all TyCon with hole names as skolem abstract.

Summary:
Fixes #13335.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: goldfire, austin, simonpj, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3211
18 files changed:
compiler/backpack/RnModIface.hs
compiler/iface/IfaceSyn.hs
compiler/iface/MkIface.hs
compiler/iface/TcIface.hs
compiler/typecheck/TcCanonical.hs
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/types/TyCon.hs
testsuite/tests/backpack/should_fail/bkpfail10.stderr
testsuite/tests/backpack/should_fail/bkpfail23.stderr
testsuite/tests/backpack/should_fail/bkpfail25.stderr
testsuite/tests/backpack/should_fail/bkpfail26.stderr
testsuite/tests/backpack/should_fail/bkpfail27.stderr
testsuite/tests/roles/should_fail/Roles12.stderr
testsuite/tests/roles/should_fail/T9204.stderr
testsuite/tests/typecheck/should_fail/T12035.stderr
testsuite/tests/typecheck/should_fail/T12035j.stderr
testsuite/tests/typecheck/should_fail/T3468.stderr