Currently this code parses as if the closing } is the closing brace of the body of the incomplete if statement. This is extremely confusing, it would be better if it parsed as an if where the entire body is missing and the surrounding block is perfectly fine.