From: Dimitrios Vytiniotis Date: Wed, 18 May 2011 09:13:55 +0000 (+0100) Subject: Fixes the way we check if flattening happened during X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b6264a6b8a8e22e24464da39ca0a3a0176d91f4e;hp=b6264a6b8a8e22e24464da39ca0a3a0176d91f4e;ds=sidebyside Fixes the way we check if flattening happened during canonicalization. We now check whether the returned coercion is an identity coercion. We used to check whether we return any constraints from flattening but that's wrong in the presence of the flattening cache. ---