blob: fbaf2ad449c5e594050455d99243c3527be5e9d6 [file] [log] [blame]
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class Npe {
Object foo(@NotNull Object o) {
return o;
}
@Nullable Object nullable() {
return null;
}
void bar() {
Object o = foo((Object)nullable()); // null should not be passed here.
}
}