[project @ 2000-01-18 14:40:06 by simonmar]
authorsimonmar <unknown>
Tue, 18 Jan 2000 14:40:06 +0000 (14:40 +0000)
committersimonmar <unknown>
Tue, 18 Jan 2000 14:40:06 +0000 (14:40 +0000)
sync up output

ghc/tests/deSugar/should_compile/ds003.stderr
ghc/tests/deSugar/should_compile/ds040.stderr
ghc/tests/deSugar/should_compile/ds041.stderr [new file with mode: 0644]

index 482b571..11e93b0 100644 (file)
@@ -1 +1,4 @@
-Haskell compiler received signal 2
+
+ds003.hs:5: Pattern match(es) are overlapped in the definition of function `f':
+           f (x : (x1 : (x2 : x3))) ~(y, ys) z = ...
+           f x y True = ...
index df6ece1..0a7bb3f 100644 (file)
@@ -1,4 +1,3 @@
 
 ds040.hs:7: Pattern match(es) are overlapped in the definition of function `^^^^':
            ^^^^ _ _ = ...
-NOTE: Simplifier still going after 4 iterations; bailing out.
diff --git a/ghc/tests/deSugar/should_compile/ds041.stderr b/ghc/tests/deSugar/should_compile/ds041.stderr
new file mode 100644 (file)
index 0000000..90e2ce2
--- /dev/null
@@ -0,0 +1,5 @@
+
+ds041.hs:15:
+    Warning: Field `x' is not initialised
+            In the record construction: Foo {}
+            In the right-hand side of a pattern binding: Foo {}