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
6d7f6f5a
Commit
6d7f6f5a
authored
Aug 28, 2001
by
simonmar
Browse files
[project @ 2001-08-28 13:51:25 by simonmar]
Test that using hiding on an unqualified import also hides the qualified name.
parent
a8f7f14a
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/should_fail/all.T
View file @
6d7f6f5a
...
...
@@ -32,6 +32,7 @@ test "rnfail029" { vtcf("") }
test
"
rnfail030
"
{
vtcf
("")
}
test
"
rnfail031
"
{
vtcf
("")
}
test
"
rnfail032
"
{
vtcf
("")
}
test
"
rnfail033
"
{
vtcf
("")
}
--
these
two
are
really
a
multi
-
module
tests
test
"
Rn037Help
"
{
vtc
("")
}
...
...
testsuite/tests/ghc-regress/rename/should_fail/rnfail033.hs
0 → 100644
View file @
6d7f6f5a
-- !!! check that hiding on an unqualified import also hides the qualified name
module
ShouldFail
(
List
.
map
)
where
import
List
hiding
(
map
)
testsuite/tests/ghc-regress/rename/should_fail/rnfail033.stderr
0 → 100644
View file @
6d7f6f5a
rnfail033.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