This has the same cause as issue 3008, the increment should be rejected during semantic as it is trying to operate on an rvalue, but isn't because DotVarExp::modifiableLvalue only checks that that _type_ is modifiable.
Comment #2 by andrej.mitrovich — 2013-01-10T05:57:00Z
*** This issue has been marked as a duplicate of issue 3865 ***