inline method: check code block on inline in super/this/loop condition

IDEA-60341
This commit is contained in:
Anna.Kozlova
2017-11-16 18:39:19 +01:00
parent 369b037f4b
commit 85b4d20080
4 changed files with 52 additions and 6 deletions
@@ -0,0 +1,16 @@
class Main {
public Main() {
this(f<caret>oo());
}
public Main(boolean b) { }
private static boolean foo() {
if (2 < 1) {
return true;
} else {
return false;
}
}
}