mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-125248 Incorrect simplify for float
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user