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.