830d2f6603
Catch all exceptions when deserializing metadata with an incompatible version to prevent the compiler from failing on discovering incompatible classes on the classpath. Note that this is not the perfect solution: any invariant may be broken in the incompatible metadata and it may result in a later exception
17 lines
292 B
Kotlin
Vendored
17 lines
292 B
Kotlin
Vendored
package usage
|
|
|
|
import a.*
|
|
|
|
fun baz(param: A, nested: A.Nested) {
|
|
val constructor = A()
|
|
val nested = A.Nested()
|
|
val quux = param.getQuux()
|
|
val methodCall = param.method()
|
|
val supertype = object : A() {}
|
|
|
|
val x = foo()
|
|
val y = bar
|
|
bar = 239
|
|
val z: TA = ""
|
|
}
|