New J2K: Move nullability analysis tests to nullabilityAnalysis dir
This commit is contained in:
committed by
Ilya Kirillov
parent
854fc6a7d7
commit
243fd2f4f1
@@ -0,0 +1,11 @@
|
||||
fun test() {
|
||||
var x: Int? = 1
|
||||
x = null
|
||||
|
||||
var y: Int? = 5
|
||||
y = nullableFun()
|
||||
}
|
||||
|
||||
fun nullableFun(): Int? {
|
||||
return null
|
||||
}
|
||||
Reference in New Issue
Block a user