Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,273
Issues
4,273
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
413
Merge Requests
413
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
db71e3ed
Commit
db71e3ed
authored
Apr 04, 2012
by
dimitris
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://darcs.haskell.org/testsuite
parents
77af3438
01fcb7aa
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
4 deletions
+15
-4
testsuite/tests/typecheck/should_compile/tc145.hs
testsuite/tests/typecheck/should_compile/tc145.hs
+1
-1
testsuite/tests/typecheck/should_compile/tc158.hs
testsuite/tests/typecheck/should_compile/tc158.hs
+1
-1
testsuite/tests/typecheck/should_compile/tc230.hs
testsuite/tests/typecheck/should_compile/tc230.hs
+1
-1
testsuite/tests/typecheck/should_fail/T2714.hs
testsuite/tests/typecheck/should_fail/T2714.hs
+1
-1
testsuite/tests/typecheck/should_fail/T5957.hs
testsuite/tests/typecheck/should_fail/T5957.hs
+4
-0
testsuite/tests/typecheck/should_fail/T5957.stderr
testsuite/tests/typecheck/should_fail/T5957.stderr
+6
-0
testsuite/tests/typecheck/should_fail/all.T
testsuite/tests/typecheck/should_fail/all.T
+1
-0
No files found.
testsuite/tests/typecheck/should_compile/tc145.hs
View file @
db71e3ed
{-# LANGUAGE ImplicitParams, UnboxedTuples #-}
{-# LANGUAGE
RankNTypes,
ImplicitParams, UnboxedTuples #-}
-- Test two slightly exotic things about type signatures
...
...
testsuite/tests/typecheck/should_compile/tc158.hs
View file @
db71e3ed
{-# LANGUAGE Rank
2
Types #-}
{-# LANGUAGE Rank
N
Types #-}
-- Types should be checked for well-formedness only after
-- expanding type synonyms. GHC 5.03 fails this
...
...
testsuite/tests/typecheck/should_compile/tc230.hs
View file @
db71e3ed
{-# LANGUAGE ImplicitParams #-}
{-# LANGUAGE ImplicitParams
, RankNTypes
#-}
-- Trac #1445
...
...
testsuite/tests/typecheck/should_fail/T2714.hs
View file @
db71e3ed
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE ScopedTypeVariables
, RankNTypes
#-}
-- Trac #2714
...
...
testsuite/tests/typecheck/should_fail/T5957.hs
0 → 100644
View file @
db71e3ed
module
T5957
where
flex
::
Int
->
Show
a
=>
a
->
String
flex
i
a
=
show
a
++
show
i
testsuite/tests/typecheck/should_fail/T5957.stderr
0 → 100644
View file @
db71e3ed
T5957.hs:3:9:
Illegal polymorphic or qualified type: Show a => a -> String
Perhaps you intended to use -XRankNTypes or -XRank2Types
In the type signature for `flex':
flex :: Int -> Show a => a -> String
testsuite/tests/typecheck/should_fail/all.T
View file @
db71e3ed
...
...
@@ -271,3 +271,4 @@ test('T5573b', normal, compile_fail, [''])
test
('
T5689
',
normal
,
compile_fail
,
[''])
test
('
T5684
',
normal
,
compile_fail
,
[''])
test
('
T5858
',
normal
,
compile_fail
,
[''])
test
('
T5957
',
normal
,
compile_fail
,
[''])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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