From: lewie Date: Wed, 11 Apr 2001 18:42:07 +0000 (+0000) Subject: [project @ 2001-04-11 18:42:07 by lewie] X-Git-Tag: Approximately_9120_patches~2165 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fbbbcf856995c0b65fd15a2c66dcca2fabbc78b4;p=ghc-hetmet.git [project @ 2001-04-11 18:42:07 by lewie] I guess it's supposed to be done *this* way... --- 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'