Files
openide/java/java-tests/testData/inspection/dataFlow/fixture/PrimitiveNull.java
T
Tagir Valeevandintellij-monorepo-bot c449c341b7 [java-highlighting] test-data adjusted (mostly anchors) after recent updates
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 1e1b77009dc78de49c7cc5c44d4704937397bb23
2025-01-29 11:35:30 +00:00

11 lines
238 B
Java

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
class A {
static final int x = <error descr="Incompatible types. Found: 'null', required: 'int'">null;</error>
void test() {
long y = x;
}
}