struct Foo { int first, second, third; }
immutable f1 = Foo(10, 20, 30);Current syntax: immutable f2a = Foo(f1.first, 200, f1.third); A possible syntax: immutable f2b = Foo(f1 with second = 200); Bye, bearophile
struct Foo { int first, second, third; }
immutable f1 = Foo(10, 20, 30);Current syntax: immutable f2a = Foo(f1.first, 200, f1.third); A possible syntax: immutable f2b = Foo(f1 with second = 200); Bye, bearophile