Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
ef4e8c54
Commit
ef4e8c54
authored
Jul 17, 2014
by
Simon Peyton Jones
Browse files
Test Trac
#9323
parent
da7cfa99
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
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