mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-63698 (Inconvertible type (assign double to Integer) not highlighted as error)
This commit is contained in:
+4
@@ -42,5 +42,9 @@ public class a {
|
||||
int i1='d';
|
||||
<error descr="Incompatible types. Found: 'long', required: 'int'">int i2 = 1L;</error>
|
||||
|
||||
Integer destination = 25;
|
||||
<error descr="Incompatible types. Found: 'double', required: 'java.lang.Integer'">destination += 2.0</error>;
|
||||
Byte b = 1;
|
||||
<error descr="Incompatible types. Found: 'int', required: 'java.lang.Byte'">b -= 1</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user