don't suggest casts for assignable types (IDEA-201457)

This commit is contained in:
Anna.Kozlova
2018-10-30 14:25:48 +01:00
parent 3079b60adb
commit 2ef3685dd6
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
// "Cast to 'java.lang.Noolean'" "false"
class X {
boolean foo() {return true;}
static void bar() {
if (<caret>foo("")) {}
}
}