https://issues.dlang.org/show_bug.cgi?id=17138
--- Comment #3 from Walter Bright <[email protected]> --- Are you suggesting: --- struct S { int field; } void foo(S s) { with (s) // no error ++field; with (s) // error ++s.field; } --- ? --
https://issues.dlang.org/show_bug.cgi?id=17138
--- Comment #3 from Walter Bright <[email protected]> --- Are you suggesting: --- struct S { int field; } void foo(S s) { with (s) // no error ++field; with (s) // error ++s.field; } --- ? --