From fbbbcf856995c0b65fd15a2c66dcca2fabbc78b4 Mon Sep 17 00:00:00 2001 From: lewie Date: Wed, 11 Apr 2001 18:42:07 +0000 Subject: [PATCH] [project @ 2001-04-11 18:42:07 by lewie] I guess it's supposed to be done *this* way... --- ghc/tests/typecheck/should_compile/tc056.stderr | 4 ++++ ghc/tests/typecheck/should_compile/tc115.hs | 2 +- ghc/tests/typecheck/should_compile/tc115.stderr | 4 ++++ ghc/tests/typecheck/should_compile/tc116.hs | 2 +- ghc/tests/typecheck/should_compile/tc116.stderr | 4 ++++ 5 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 ghc/tests/typecheck/should_compile/tc056.stderr create mode 100644 ghc/tests/typecheck/should_compile/tc115.stderr create mode 100644 ghc/tests/typecheck/should_compile/tc116.stderr diff --git a/ghc/tests/typecheck/should_compile/tc056.stderr b/ghc/tests/typecheck/should_compile/tc056.stderr new file mode 100644 index 0000000..b6a09e3 --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc056.stderr @@ -0,0 +1,4 @@ + +tc056.hs:14: + Warning: Duplicate class assertion `Eq' a' in the context: + (Eq' a, Eq' a) => ... diff --git a/ghc/tests/typecheck/should_compile/tc115.hs b/ghc/tests/typecheck/should_compile/tc115.hs index 4274bee..0a12db9 100644 --- a/ghc/tests/typecheck/should_compile/tc115.hs +++ b/ghc/tests/typecheck/should_compile/tc115.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -w -fglasgow-exts #-} +{-# OPTIONS -fglasgow-exts #-} -- !!! Functional dependencies -- This broke an early impl of functional dependencies diff --git a/ghc/tests/typecheck/should_compile/tc115.stderr b/ghc/tests/typecheck/should_compile/tc115.stderr new file mode 100644 index 0000000..7571574 --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc115.stderr @@ -0,0 +1,4 @@ + +tc115.hs:12: + Warning: No explicit method nor default method for `foo' + in an instance declaration for `Foo' diff --git a/ghc/tests/typecheck/should_compile/tc116.hs b/ghc/tests/typecheck/should_compile/tc116.hs index 725f9ca..cb29a43 100644 --- a/ghc/tests/typecheck/should_compile/tc116.hs +++ b/ghc/tests/typecheck/should_compile/tc116.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -w -fglasgow-exts #-} +{-# OPTIONS -fglasgow-exts #-} -- !!! Functional dependencies -- This broke an early impl of functional dependencies diff --git a/ghc/tests/typecheck/should_compile/tc116.stderr b/ghc/tests/typecheck/should_compile/tc116.stderr new file mode 100644 index 0000000..d33d70c --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc116.stderr @@ -0,0 +1,4 @@ + +tc116.hs:12: + Warning: No explicit method nor default method for `foo' + in an instance declaration for `Foo' -- 1.7.10.4