[GHC] #10439: Opt_ImplicitImportQualified doesn't work for constructor field name

GHC ghc-devs at haskell.org
Fri Jul 3 20:44:15 UTC 2015


#10439: Opt_ImplicitImportQualified doesn't work for constructor field name
-------------------------------------+-------------------------------------
        Reporter:  watashi           |                   Owner:  watashi
            Type:  bug               |                  Status:  patch
        Priority:  highest           |               Milestone:  7.12.1
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  x86
 Type of failure:  GHC rejects       |               Test Case:
  valid program                      |                Blocking:
      Blocked By:                    |  Differential Revisions:  Phab:D900
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"1d6ead7d71ae9ad104f9bed9579462ce4a218594/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1d6ead7d71ae9ad104f9bed9579462ce4a218594"
 Enable using qualified field of constructor in GHCi

 The -fimplicit-import-qualified made it possible to uses qualifed names
 in GHCi without explicitly import the modules. But it didn't work for
 field of constructor, this patch fixed this issue.

 Test Plan:
 cd testsuite/tests/rename/ && make
 cd testsuite/tests/ghci/ && make

 Reviewers: austin, simonpj

 Reviewed By: austin, simonpj

 Subscribers: bgamari, thomie

 Differential Revision: https://phabricator.haskell.org/D900

 GHC Trac Issues: #10439
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10439#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list