[Issue 22100] New: Support chained assignment of Nullable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 5 05:17:42 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22100

          Issue ID: 22100
           Summary: Support chained assignment of Nullable
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: dlang-bugzilla at thecybershadow.net

This should work:

Nullable!int a, b, c;
a = b = c = 5;
a = b = c = nullable(5);

--


More information about the Digitalmars-d-bugs mailing list