semantic: Correctly handle postfixes in nested functions.