mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PrimitiveNull test
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class A {
|
||||
static final <error descr="Incompatible types. Found: 'null', required: 'int'">int x = null;</error>
|
||||
|
||||
void test() {
|
||||
long y = x;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user