← Back to index
|
Original Bugzilla link
Bug 23303 – [REG2.096] Conflict error on private imports
Status
NEW
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-08-23T23:16:45Z
Last change time
2024-12-13T19:24:12Z
Keywords
industry
Assigned to
No Owner
Creator
johanengelen
Moved to GitHub: dmd#20140 →
Comments
Comment #0
by johanengelen — 2022-08-23T23:16:45Z
Testcase (two files): File a.d ``` import std.format; import b; void foo(string path){ format("%s", path); } ``` File b.d ``` import std: format; import std: format; ``` Compile with `dmd a.d b.d -o-`, error since dlang2.096: a.d(4): Error: function `std.format.format!(char, string).format` at std/format/package.d(773) conflicts with function `std.format.format!(char, string).format` at std/format/package.d(773)
Comment #1
by robert.schadek — 2024-12-13T19:24:12Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/20140
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB