Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
bdb48a69
Commit
bdb48a69
authored
Sep 07, 2010
by
simonpj
Browse files
Comments only
parent
edf395e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_compile/T1470.hs
View file @
bdb48a69
...
...
@@ -17,4 +17,10 @@ instance Foo t => Sat (FooD t)
instance
Data
FooD
a
=>
Foo
a
instance
Foo
a
=>
Foo
[
a
]
-- Have: Foo a, Data FooD a, Foo [a]
--
-- Want superclasses: (Data FooD [a])
-- and hence: Sat (FooD [a]), Data FooD a
-- and hence: Foo [a]
instance
Foo
[
Char
]
testsuite/tests/ghc-regress/typecheck/should_compile/tc150.hs
View file @
bdb48a69
{-#
OPTIONS -fglasgow-ext
s #-}
{-#
LANGUAGE RankNTypes, ScopedTypeVariable
s #-}
module
ShouldCompile
where
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment