digitalmars.D.bugs - [Issue 23543] New: [stdio] function std.stdio.writeln!string.writeln
- d-bugmail puremagic.com (27/27) Dec 08 2022 https://issues.dlang.org/show_bug.cgi?id=23543
https://issues.dlang.org/show_bug.cgi?id=23543 Issue ID: 23543 Summary: [stdio] function std.stdio.writeln!string.writeln Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: al1-ce list.ru Compilers outs really wierd error: Error: function `std.stdio.writeln!string.writeln` at /usr/include/dlang/dmd/std/stdio.d(4211,6) conflicts with function `std.stdio.writeln!string.writeln` at /usr/include/dlang/dmd/std/stdio.d(4211,6) And when I tried isolating it into it's own small case: import std.stdio; private const string _version = "v"; void main() { writeln(_version); } It produced nothing, but import in my program to just "import std.stdio: writeln;" solved the problem. --
Dec 08 2022