Thread overview
[Issue 6591] New: di header generation loses selective import symbols
Sep 02, 2011
Rainer Schuetze
Jun 07, 2012
Kenji Hara
Jun 07, 2012
Kenji Hara
Jun 11, 2012
Walter Bright
September 02, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6591

           Summary: di header generation loses selective import symbols
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: r.sagitario@gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario@gmx.de> 2011-09-02 00:46:21 PDT ---
Generating a di file from

---
module test;
import std.stdio : writeln;
---

via "dmd -H -o- test.d" generates

---
// D import file generated from 'test.d'
module test;
import std.stdio;
---

which might create an uncompilable di file due to symbol ambiguities. It can also spread across more modules if the import is public.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 07, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6591


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, wrong-code
           Platform|Other                       |All
         OS/Version|Windows                     |All


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-06-07 04:53:54 PDT ---
https://github.com/D-Programming-Language/dmd/pull/991

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 07, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6591


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |admin@dav1d.de


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2012-06-07 05:42:20 PDT ---
*** Issue 7532 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 11, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6591



--- Comment #3 from github-bugzilla@puremagic.com 2012-06-11 10:52:28 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/3413968fe7e134bc54f523452e911bb3e8a3185d fix Issue 6591 - di header generation loses selective import symbols

https://github.com/D-Programming-Language/dmd/commit/a7b64f3c16718a364396ea19d6a494f5773e4449 Merge pull request #991 from 9rnsr/fix6591

Issue 6591 - di header generation loses selective import symbols

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 11, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6591


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------