Files
kotlin-fork/nj2k/testData/newJ2k/assignmentExpression/nullability-settings.kt
T
Ilya Kirillov 5f8b5efd66 New J2K: do not find import usages in AST building phase
It is a rather heavy operation and it increases conversion time
Related to #KT-31848
2019-06-11 10:34:34 +03:00

12 lines
235 B
Kotlin
Vendored

// !forceNotNullTypes: false
// !specifyLocalVariableTypeByDefault: true
import java.util.HashSet
internal class Foo {
fun foo(o: HashSet<*>) {
val o2: HashSet<*> = o
var foo: Int = 0
foo = o2.size
}
}