Duplicated JetTypeMapper.mapSignature removed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
open class Base {
|
||||
val pr : String = "OK"
|
||||
}
|
||||
|
||||
trait Trait : Base {
|
||||
fun f() : String {
|
||||
return this.pr
|
||||
}
|
||||
}
|
||||
|
||||
class A : Trait, Base() {
|
||||
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
return if (A().f() == A().pr) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user