From 38cfffe9811e16599f82c2af42334b40fcf00a46 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 18 Jan 2000 14:40:06 +0000 Subject: [PATCH] [project @ 2000-01-18 14:40:06 by simonmar] sync up output --- ghc/tests/deSugar/should_compile/ds003.stderr | 5 ++++- ghc/tests/deSugar/should_compile/ds040.stderr | 1 - ghc/tests/deSugar/should_compile/ds041.stderr | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 ghc/tests/deSugar/should_compile/ds041.stderr diff --git a/ghc/tests/deSugar/should_compile/ds003.stderr b/ghc/tests/deSugar/should_compile/ds003.stderr index 482b571..11e93b0 100644 --- a/ghc/tests/deSugar/should_compile/ds003.stderr +++ b/ghc/tests/deSugar/should_compile/ds003.stderr @@ -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 = ... diff --git a/ghc/tests/deSugar/should_compile/ds040.stderr b/ghc/tests/deSugar/should_compile/ds040.stderr index df6ece1..0a7bb3f 100644 --- a/ghc/tests/deSugar/should_compile/ds040.stderr +++ b/ghc/tests/deSugar/should_compile/ds040.stderr @@ -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 index 0000000..90e2ce2 --- /dev/null +++ b/ghc/tests/deSugar/should_compile/ds041.stderr @@ -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 {} -- 1.7.10.4