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.
Comment #1 by razvan.nitu1305 — 2022-12-08T14:13:54Z
I'm sorry, but without a reproducible test case there is really not much that we can do.
Comment #2 by al1-ce — 2022-12-08T14:19:49Z
I can attach archive of "snapshot" I made using dustmite
Comment #3 by razvan.nitu1305 — 2022-12-09T11:53:25Z
Please.
Comment #4 by al1-ce — 2022-12-10T11:45:17Z
Created attachment 1863
Case in which compilation failed
DUB version 1.30.0, built on Nov 23 2022
DMD64 D Compiler v2.101.0
Comment #5 by al1-ce — 2024-04-10T11:26:18Z
Closing it as stale (tbh still don't know what was that)