diff options
| author | simonpj@microsoft.com <unknown> | 2011-02-14 09:07:03 +0000 |
|---|---|---|
| committer | simonpj@microsoft.com <unknown> | 2011-02-14 09:07:03 +0000 |
| commit | 972bf5f61cebb29ffd6c86453f3571c2bc138392 (patch) | |
| tree | 7d004532c9688b329e96c108b21e722de268c1d2 | |
| parent | 6c8893bfc4827e4fa00223f4751fd1234868c4a5 (diff) | |
| download | haskell-972bf5f61cebb29ffd6c86453f3571c2bc138392.tar.gz | |
Comments only
| -rw-r--r-- | compiler/typecheck/TcSimplify.lhs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/typecheck/TcSimplify.lhs b/compiler/typecheck/TcSimplify.lhs index ec6adc8328..0a4fe07336 100644 --- a/compiler/typecheck/TcSimplify.lhs +++ b/compiler/typecheck/TcSimplify.lhs @@ -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} |
