[GHC] #10182: lookupIfaceGlobal crash with SOURCE import
GHC
ghc-devs at haskell.org
Wed Apr 22 12:39:30 UTC 2015
#10182: lookupIfaceGlobal crash with SOURCE import
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: ezyang
Type: bug | Status: patch
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.8.4
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
| https://phabricator.haskell.org/D860
-------------------------------------+-------------------------------------
Comment (by Edward Z. Yang <ezyang@…>):
In [changeset:"a2f9fef1d90c073ad9c2a727c5ee617057ca6c1d/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="a2f9fef1d90c073ad9c2a727c5ee617057ca6c1d"
Fix #10182 by disallowing/avoiding self {-# SOURCE #-} imports
Summary:
hs-boot declarations were leaking into the EPS due to
self {-# SOURCE #-} imports, and interface loading induced by
orphan instances. For the former, we simply disallow self
{-# SOURCE #-} imports; for the latter, we simply just don't
load an interface if it would be ourself.
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
Test Plan: validate
Reviewers: simonpj, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D860
GHC Trac Issues: #10182
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10182#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list