Maia [10361]: good code red
I'm seeing quite a few error highlights for code that is perfectly valid (and compiles as such), for example a method with
private boolean methodX(int cond)
{
if (cond == 0)
{
...
return false;
}
else if (cond == 1)
{
...
return true
}
{
return true
}
}
shows the error squigly at the closing brace of the method.
Anyone else seeing this? Is this a new regression?
Cheers,
Bonny
请先登录再写评论。
There was another issue with false errors: http://www.jetbrains.net/devnet/message/5240583 It was fixed in later builds.
There are no errors for me in your sample in the latest build (beside the fact that semicolons should be added after return statements).
Alexander.