blob: 5cf11b3c76990b18ad30cb53f91022c6c20c56c1 [file] [log] [blame]
package c
import b.B
fun bar(b: B) {
// Implicit usage of (unavailable) a.A, return value is not used. It should still be an error as in Java
b.foo()
// Return value is used but the type is incorrect, also an error
val x: String = b.foo()
}