Comment #0 by default_357-line — 2022-03-28T13:06:57Z
... leads to "Error: unknown."
This may win points for most esoteric repro steps ever.
And yes, this is dustmited from real code. Not AFL.
Consider a test.d:
struct Struct
{
enum e = __traits(compiles, Struct.init);
import test2 : NonexistentSymbol;
mixin NonexistentSymbol;
}
import test2;
void main() { bla; }
And a test2.d:
enum bla = bloop;
Then
Error: unknown, please file report on issues.dlang.org
( see https://run.dlang.io/is/CXi4df )
Comment #1 by robert.schadek — 2024-12-13T19:21:50Z