January 14, 2017 [Issue 16711] unittest writefln | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16711 Rainer Schuetze <r.sagitario@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 CC| |r.sagitario@gmx.de Component|visuald |phobos Hardware|x86 |All OS|Windows |All Severity|enhancement |normal --- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> --- By importing std.stdio and using writefln, you are also instantiating template struct FormatSpec(Char) from std.format. This contains a unittest that checks that an exception is thrown. Every time code generation for this struct kicks in, the unittest will also be generated. The unittest does not contain anything depending on the template parameters, so it should not be inside the struct declaration, but outside of it. Thus I'm reassigning this to component phobos. -- |
December 27, 2019 [Issue 16711] unittest writefln | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16711 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@d-ecke.de Resolution|--- |WORKSFORME --- Comment #2 from berni44 <bugzilla@d-ecke.de> --- The behaviour of dmd regarding unittests changed in version 2.091. IMHO this isn't a problem anymore. -- |
Copyright © 1999-2021 by the D Language Foundation