[GHC] #11970: Simplify Parent for patten synonyms
GHC
ghc-devs at haskell.org
Thu Apr 28 16:43:43 UTC 2016
#11970: Simplify Parent for patten synonyms
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: mpickering
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
This is very similar to
{{{
import M
import N
foo = T { f = 3 }
}}}
where we disambiguate 'f' (via `lookupSubBndrOcc`) to the `f` that comes
from `T`. Can't we do ''exactly'' the same for `T(f)` in an export list?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11970#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list