IDEA-125248 Incorrect simplify for float

This commit is contained in:
peter
2014-05-23 17:45:57 +02:00
parent b7c5190aee
commit 68f7fad1c5
3 changed files with 10 additions and 14 deletions
@@ -0,0 +1,7 @@
class Fun {
public static void main(String[] args) throws Exception {
float f = 1f;
int x = <warning descr="Condition 'f == 1f' is always 'true'">f == 1f</warning> ? 1 : 2;
}
}