[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
private interface My
|
||||
|
||||
private open class Base
|
||||
|
||||
public interface Your: My {
|
||||
fun <T: Base> foo(): T
|
||||
}
|
||||
|
||||
public class Derived<T: My>(val x: My): Base() {
|
||||
|
||||
constructor(xx: My?, x: My): this(xx ?: x)
|
||||
|
||||
val y: Base? = null
|
||||
|
||||
val My.z: Int
|
||||
get() = 42
|
||||
|
||||
fun foo(m: My): My = m
|
||||
|
||||
fun My.bar(): My = this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user