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: [email protected]
          Reporter: [email protected]

struct S { int i; }

assert(S(5).nullable.apply!"a.i" == 5);

This should work, but does not.

--

Reply via email to