Reorganized functional dependency reactions once more:
authorDimitrios Vytiniotis <dimitris@microsoft.com>
Wed, 8 Jun 2011 17:24:21 +0000 (18:24 +0100)
committerDimitrios Vytiniotis <dimitris@microsoft.com>
Wed, 8 Jun 2011 17:24:21 +0000 (18:24 +0100)
commit107715b367678d1325a5eecd4a4f13ba6ada3c6c
tree5952e3f88f9799062471ab9db02263b8c420a3b3
parentf31e93496d7b7ec631b9402be9b566d0f5d2e1fa
Reorganized functional dependency reactions once more:
 1) generating Derived FDs as happens for equality superclasses
 2) Kept the optimization of immediately discharging items
    if fundeps cause a match
 3) Restructured top-reactions and interactions with inerts to
    behave similarly to each other.

In particular, (1) fixes ticket #5236.
compiler/typecheck/TcCanonical.lhs
compiler/typecheck/TcInteract.lhs