diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2016-03-11 10:37:26 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-03-11 10:47:57 +0100 |
commit | fc16690a536b74e7af72e963599471474e3df603 (patch) | |
tree | 701457391fc9cd0b6c902f9be0f5a992dd65c291 /testsuite/tests/rename/should_compile/T11624.hs-boot | |
parent | c42cdb7f6dcfd519d9607ac9fa53f049b2922fb8 (diff) | |
download | haskell-fc16690a536b74e7af72e963599471474e3df603.tar.gz |
Fix #11624, cannot declare hs-boot if already one in scope.
I'm not sure if this fix is the "right way" to do it, but
it solves the proximal problem, which is that lookupBindGroupOcc
was picking out the wrong renaming for hs-boot signatures,
which then lead to an interface file error.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate
Reviewers: simonpj, hvr, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1963
GHC Trac Issues: #11624
Diffstat (limited to 'testsuite/tests/rename/should_compile/T11624.hs-boot')
-rw-r--r-- | testsuite/tests/rename/should_compile/T11624.hs-boot | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T11624.hs-boot b/testsuite/tests/rename/should_compile/T11624.hs-boot new file mode 100644 index 0000000000..f993dff67c --- /dev/null +++ b/testsuite/tests/rename/should_compile/T11624.hs-boot @@ -0,0 +1,3 @@ +module T11624 where +import Prelude(concat, Int) +concat :: Int -> Int |