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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Alex D
GHC
Commits
ef4e8c54
Commit
ef4e8c54
authored
Jul 17, 2014
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac #9323
parent
da7cfa99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
testsuite/tests/typecheck/should_fail/T9323.hs
testsuite/tests/typecheck/should_fail/T9323.hs
+7
-0
testsuite/tests/typecheck/should_fail/T9323.stderr
testsuite/tests/typecheck/should_fail/T9323.stderr
+5
-0
testsuite/tests/typecheck/should_fail/all.T
testsuite/tests/typecheck/should_fail/all.T
+1
-0
No files found.
testsuite/tests/typecheck/should_fail/T9323.hs
0 → 100644
View file @
ef4e8c54
module
T9323
where
broken
::
[
Int
]
broken
=
()
ambiguous
::
a
->
String
ambiguous
_
=
show
0
testsuite/tests/typecheck/should_fail/T9323.stderr
0 → 100644
View file @
ef4e8c54
T9323.hs:4:10:
Couldn't match expected type ‘[Int]’ with actual type ‘()’
In the expression: ()
In an equation for ‘broken’: broken = ()
testsuite/tests/typecheck/should_fail/all.T
View file @
ef4e8c54
...
...
@@ -335,3 +335,4 @@ test('T9033', normal, compile_fail, [''])
test
('
T8883
',
normal
,
compile_fail
,
[''])
test
('
T9196
',
normal
,
compile_fail
,
[''])
test
('
T9305
',
normal
,
compile_fail
,
[''])
test
('
T9323
',
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