[Issue 8304] writeln of empty Nullables too
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 13 15:37:19 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=8304
Tobias Pankrath <tobias at pankrath.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tobias at pankrath.net
Resolution|--- |FIXED
--- Comment #7 from Tobias Pankrath <tobias at pankrath.net> ---
import std.stdio;
import std.typecons;
void main() {
Nullable!string s;
writeln(s);
}
now prints "Nullable.null".
--
More information about the Digitalmars-d-bugs
mailing list