core: fix incorrect argument removing in anonymous constructor, inline synthetic field increment method