digitalmars.D.bugs - [Issue 23303] New: [REG2.096] Conflict error on private imports
- d-bugmail puremagic.com (32/32) Aug 23 2022 https://issues.dlang.org/show_bug.cgi?id=23303
https://issues.dlang.org/show_bug.cgi?id=23303 Issue ID: 23303 Summary: [REG2.096] Conflict error on private imports Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: johanengelen weka.io 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) --
Aug 23 2022