www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22100] New: Support chained assignment of Nullable

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 puremagic.com
          Reporter: dlang-bugzilla thecybershadow.net

This should work:

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

--
Jul 04