[GHC] #11624: Cannot declare hs-boot declaration if there is already a value in scope
GHC
ghc-devs at haskell.org
Fri Mar 11 12:26:51 UTC 2016
#11624: Cannot declare hs-boot declaration if there is already a value in scope
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: ezyang
Type: bug | Status: patch
Priority: highest | Milestone: 8.0.1
Component: Compiler (Type | Version: 8.0.1-rc2
checker) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: #10472 | Differential Rev(s): Phab:D1963
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"fc16690a536b74e7af72e963599471474e3df603/ghc" fc16690/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="fc16690a536b74e7af72e963599471474e3df603"
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 at 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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11624#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list