Prevent eager unification with type families.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sat, 19 Mar 2016 02:36:34 +0000 (22:36 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Mon, 21 Mar 2016 16:16:11 +0000 (12:16 -0400)
commit3e1b8824c849d063c7354dbdf63ae2910cf0fdfc
tree162a77f875bb9cfbbf17a93f84e4582ba62c4840
parentf8ab575404b726b499e72343b7220e9213880dd4
Prevent eager unification with type families.

See Note [Prevent unification with type families]
in TcUnify for the details.
16 files changed:
compiler/typecheck/TcType.hs
compiler/typecheck/TcUnify.hs
testsuite/tests/indexed-types/should_compile/all.T
testsuite/tests/indexed-types/should_fail/T2693.stderr
testsuite/tests/indexed-types/should_fail/T4179.stderr
testsuite/tests/indexed-types/should_fail/T5439.stderr
testsuite/tests/indexed-types/should_fail/T7354.stderr
testsuite/tests/indexed-types/should_fail/T7729.stderr
testsuite/tests/indexed-types/should_fail/T7786.stderr
testsuite/tests/indexed-types/should_fail/T7788.hs [moved from testsuite/tests/indexed-types/should_compile/T7788.hs with 100% similarity]
testsuite/tests/indexed-types/should_fail/T7788.stderr [new file with mode: 0644]
testsuite/tests/indexed-types/should_fail/T9554.stderr
testsuite/tests/indexed-types/should_fail/T9662.stderr
testsuite/tests/indexed-types/should_fail/all.T
testsuite/tests/perf/compiler/all.T
testsuite/tests/typecheck/should_fail/T9260.stderr