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
d22152d8
Commit
d22152d8
authored
Aug 11, 2006
by
Simon Marlow
Browse files
This test now compiles without errors
parent
9aa04326
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/rename/prog006/Makefile
View file @
d22152d8
...
...
@@ -2,16 +2,21 @@ TOP=../../../..
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/test.mk
# Original comments relating to GHC 6.4:
# This test caused a panic in GHC 6.4, but in reality it is user
# error, caused by compiling separate modules in the program using
# different search paths. GHC gets confused when it can't find a
# module mentioned as a dependency in another interface file.
# Update for GHC 6.6:
# This test now succeeds, because A.hi records the fact that B.C
# came from the package test-1.0, so there's no conflict.
# If the package format changes, we might have to re-generate pkg.conf
# using the supplied Cabal configuration.
rn.prog006
:
@
$(TEST_HC)
--make
B.C
-no-recomp
-v0
@
$(TEST_HC)
--make
-package-name
test-1.0
B.C
-no-recomp
-v0
@
sed
"s@__IMPORT__@
`
pwd
`
@"
<pkg.conf.in
>
pkg.conf
@
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-no-recomp
A.hs
-i
-
@
$(TEST_HC)
-c
-package-conf
pkg.conf
-package
test
-no-recomp
Main.hs
testsuite/tests/ghc-regress/rename/prog006/rn.prog006.stderr
View file @
d22152d8
A.hi:
Interface file inconsistency:
home-package module `B.C' is mentioned,
but does not appear in the dependencies of the interface
Cannot continue after interface file error
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