Generate not-null assertions only for descriptors coming from Java
Introduce BindingContext.IS_DECLARED_IN_JAVA, store that info in JavaDescriptorResolver
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun bar() {
|
||||
val x = A().x
|
||||
val foo = A().foo()
|
||||
val y = A.y
|
||||
val bar = A.bar()
|
||||
val baz = baz()
|
||||
}
|
||||
Reference in New Issue
Block a user