Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fumiaki Kinoshita
GHC
Commits
3d7189fd
Commit
3d7189fd
authored
Feb 05, 2011
by
Ian Lynagh
Browse files
Remove the haskell98 dependency from the typecheck/should_fail tests
parent
1e77e5bc
Changes
5
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/T2538.hs
View file @
3d7189fd
-- Trac #2538
module
ShouldFail
where
import
Ix
import
Data.
Ix
f
::
(
Eq
a
=>
a
->
a
)
->
Int
f
=
error
"urk"
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail058.hs
View file @
3d7189fd
module
ShouldFail
where
import
Array
import
Data.
Array
-- !!! inadvertently using => instead of ->
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail102.hs
View file @
3d7189fd
module
ShouldFail
where
import
Ratio
import
Data.
Ratio
data
Integral
a
=>
P
a
=
P
{
p
::
a
}
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail193.hs
View file @
3d7189fd
...
...
@@ -4,7 +4,7 @@
module
ShouldFail
where
import
List
(
inits
)
import
Data.
List
(
inits
)
z
::
[
Int
]
z
=
[
x
|
x
<-
[
3
,
2
,
1
],
then
inits
]
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail194.hs
View file @
3d7189fd
...
...
@@ -4,7 +4,7 @@
module
ShouldFail
where
import
List
(
take
)
import
Data.
List
(
take
)
z
=
[
x
|
x
<-
[
1
..
10
],
then
take
5
by
x
]
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