[Issue 9086] std.typecons.appendIfNotNull() or a better idea
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 2 07:43:52 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=9086
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dlang-bugzilla at thecybershad
| |ow.net
Resolution|--- |WORKSFORME
--- Comment #4 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to bearophile_hugs from comment #0)
> A problem with std.typecons.Nullable is that the D type system is not
> powerful enough to see this is correct code:
This example now compiles fine.
Fixed in https://github.com/dlang/phobos/pull/1103
--
More information about the Digitalmars-d-bugs
mailing list