db5e00bcc0
Technically we often can compile code which uses missing classes (as long as nothing is called on them) but it seems better to let the user know something's wrong in their setup before the error manifests itself at runtime. Also the Java compiler does the same #KT-4328 Fixed
11 lines
123 B
Kotlin
Vendored
11 lines
123 B
Kotlin
Vendored
package b
|
|
|
|
import a.A
|
|
|
|
interface B {
|
|
fun returnType(): A
|
|
fun parameter(param: A?)
|
|
}
|
|
|
|
fun A?.extensionReceiver() {}
|