[Issue 21199] New: Nullable.apply should take string expression like rest of Phobos
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 26 11:25:24 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21199
Issue ID: 21199
Summary: Nullable.apply should take string expression like rest
of Phobos
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: default_357-line at yahoo.de
struct S { int i; }
assert(S(5).nullable.apply!"a.i" == 5);
This should work, but does not.
--
More information about the Digitalmars-d-bugs
mailing list