8024180: Incorrect handling of expression and parent scope in 'with' statements