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