From: simonpj Date: Fri, 14 Jul 2000 16:43:20 +0000 (+0000) Subject: [project @ 2000-07-14 16:43:20 by simonpj] X-Git-Tag: Approximately_9120_patches~4006 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f062b59eac0c70c6f2640fb9e40fc4383b993d4d;p=ghc-hetmet.git [project @ 2000-07-14 16:43:20 by simonpj] Add mutually recursive kind inference test --- diff --git a/ghc/tests/typecheck/should_compile/tc106.hs b/ghc/tests/typecheck/should_compile/tc106.hs new file mode 100644 index 0000000..aa9a7f8 --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc106.hs @@ -0,0 +1,12 @@ +{-# OPTIONS -fglasgow-exts #-} + +-- !!! Mutually recursive kind inference + +module ShouldCompile where + +class Lookup c k a where + lookupAll :: Sequence seq a => c -> k -> seq a + +class Lookup (s a) Int a => Sequence s a where + foo :: s a + diff --git a/ghc/tests/typecheck/should_compile/tc106.stderr b/ghc/tests/typecheck/should_compile/tc106.stderr new file mode 100644 index 0000000..e69de29