summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-10-30 12:11:27 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-10-31 13:49:03 +0000
commit4fe6e7691d3f8caca2a2e583fa4ca3291d2c8789 (patch)
tree0c47c2c582eebd850beaf75bb18944d287ece36e
parentb75d3e5d33d7a8eef4e3f82e0d28be5b6d4f9062 (diff)
downloadhaskell-4fe6e7691d3f8caca2a2e583fa4ca3291d2c8789.tar.gz
Add flattening-notes
-rw-r--r--compiler/typecheck/Flattening-notes49
1 files changed, 49 insertions, 0 deletions
diff --git a/compiler/typecheck/Flattening-notes b/compiler/typecheck/Flattening-notes
new file mode 100644
index 0000000000..5f6fd140c8
--- /dev/null
+++ b/compiler/typecheck/Flattening-notes
@@ -0,0 +1,49 @@
+ToDo:
+
+* get rid of getEvTerm?
+
+* Float only CTyEqCans. kind-incompatible things should be CNonCanonical,
+ so they won't float and generate a duplicate kind-unify message
+
+ Then we can stop disabling floating when there are insolubles,
+ and that will improve mc21 etc
+
+* Note [Do not add duplicate derived isols]
+ This mostly doesn't apply now, except for the fundeps
+
+* inert_funeqs, inert_eqs: keep only the CtEvidence.
+ They are all CFunEqCans, CTyEqCans
+
+* remove/rewrite TcMType Note [Unflattening while zonking]
+
+* Consider individual data tpyes for CFunEqCan etc
+
+Remaining errors
+============================
+Unexpected failures:
+ generics GenDerivOutput1_1 [stderr mismatch] (normal)
+
+ghcirun002: internal error: ASSERTION FAILED: file rts/Interpreter.c, line 773
+ ghci/should_run ghcirun002 [bad exit code] (ghci)
+
+-package dependencies: array-0.5.0.1@array_GX4NwjS8xZkC2ZPtjgwhnz
++package dependencies: array-0.5.0.1 base-4.8.0.0
+ safeHaskell/check/pkg01 safePkg01 [bad stdout] (normal)
+
+
+Wierd looking pattern synonym thing
+ ghci/scripts T8776 [bad stdout] (ghci)
+ patsyn/should_fail mono [stderr mismatch] (normal)
+
+Derived equalities fmv1 ~ Maybe a, fmv2 ~ Maybe b
+ indexed-types/should_fail T4093a [stderr mismatch] (normal)
+
+Not sure
+ indexed-types/should_fail ExtraTcsUntch [stderr mismatch] (normal)
+
+Order of finding iprovements
+ typecheck/should_compile TcTypeNatSimple [exit code non-0] (normal)
+
+
+
+-----------------