Comments only
authorsimonpj@microsoft.com <unknown>
Mon, 14 Feb 2011 09:07:03 +0000 (09:07 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 14 Feb 2011 09:07:03 +0000 (09:07 +0000)
compiler/typecheck/TcSimplify.lhs

index ec6adc8..0a4fe07 100644 (file)
@@ -932,10 +932,10 @@ NB: A consequence is that every simplifier-generated TcsTv variable
     constraints. In effect, by floating an equality out of the
     implication we are committing to have it solved in the outside.
 
-NB: A consequence is that every simplifier-generated TcsTv variable that gets floated out 
-    of an implication becomes now untouchable next time we go inside that implication to 
-    solve any residual constraints. In effect, by floating an equality out of the implication 
-    we are committing to have it solved in the outside. 
+Note [Float Equalities out of Implications]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
+We want to float equalities out of vanilla existentials, but *not* out 
+of GADT pattern matches. 
 
 
 \begin{code}