Skip to content
GitLab
Menu
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
3d7163d4
Commit
3d7163d4
authored
Jun 29, 2005
by
simonpj
Browse files
[project @ 2005-06-29 15:42:35 by simonpj]
Add renamer test (ambiguos occurrence)
parent
b7c46275
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/should_fail/all.T
View file @
3d7163d4
...
...
@@ -45,3 +45,4 @@ test('rnfail041', normal, compile_fail, [''])
test
('
rnfail042
',
normal
,
compile_fail
,
[''])
test
('
rnfail043
',
skip_if_no_ghci
,
compile_fail
,
[''])
test
('
rnfail044
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/rename/should_fail/rnfail044.hs
0 → 100644
View file @
3d7163d4
-- Renamer test
-- The ambiguity is between the Prelude import and the defn
-- of splitAt. The import of Data.List has nothing to do with it.
module
A
(
splitAt
)
where
import
qualified
Data.List
splitAt
=
undefined
testsuite/tests/ghc-regress/rename/should_fail/rnfail044.stderr
0 → 100644
View file @
3d7163d4
rnfail044.hs:5:11:
Ambiguous occurrence `splitAt'
It could refer to either `A.splitAt', defined at rnfail044.hs:8:2
or `GHC.List.splitAt', imported from Prelude at Implicit import declaration
Write
Preview
Supports
Markdown
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