Bug 6591 – di header generation loses selective import symbols

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-09-02T00:46:00Z
Last change time
2012-06-11T11:57:40Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
r.sagitario

Comments

Comment #0 by r.sagitario — 2011-09-02T00:46:21Z
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.
Comment #1 by k.hara.pg — 2012-06-07T04:53:54Z
Comment #2 by k.hara.pg — 2012-06-07T05:42:20Z
*** Issue 7532 has been marked as a duplicate of this issue. ***
Comment #3 by github-bugzilla — 2012-06-11T10:52:28Z
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