Can't compile a module with a single import statement, while the imported module compiles fine #21098
Labels
Severity:Industry
Code that affects the industry
Severity:rejects-valid
Code that should compile but doesn't
This was dustmited from dlang/phobos#10715:
a.d
:import b;
b.d
:phobos.d
:Compiling
b.d
works fine with both DMD v2.110.0 and v2.111.0-rc.1:But compiling
a.d
fails with both versions:hasToString!T
should obviously never yieldvoid
.The text was updated successfully, but these errors were encountered: