We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Even though the hidden this parameter is ref.
this
ref
struct S { int i; int f() => ++i; } void main() { //S().i++; // cannot modify, `S().i` is not an lvalue assert(S().f() == 1); // OK }
PR incoming.