Skip to content
GitLab
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
89f46f59
Commit
89f46f59
authored
Aug 28, 2001
by
simonmar
Browse files
[project @ 2001-08-28 13:38:10 by simonmar]
Add a test for unqualified imports bringing into scope qualified names.
parent
2c9e7461
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/should_fail/all.T
View file @
89f46f59
...
...
@@ -29,6 +29,7 @@ test "rnfail026" { vtcf("") }
test
"
rnfail027
"
{
vtcf
("")
}
test
"
rnfail028
"
{
vtcf
("")
}
test
"
rnfail029
"
{
vtcf
("")
}
test
"
rnfail030
"
{
vtcf
("")
}
--
these
two
are
really
a
multi
-
module
tests
test
"
Rn037Help
"
{
vtc
("")
}
...
...
testsuite/tests/ghc-regress/rename/should_fail/rnfail030.hs
0 → 100644
View file @
89f46f59
-- !!! check that unqualified imports don't bring qualified names into scope
module
ShouldFail
(
List
.
map
)
where
import
List
()
testsuite/tests/ghc-regress/rename/should_fail/rnfail030.stderr
0 → 100644
View file @
89f46f59
rnfail030.hs:2: Variable not in scope: `List.map'
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