Duplicated JetTypeMapper.mapSignature removed

This commit is contained in:
Mikhael Bogdanov
2013-04-18 13:32:31 +04:00
parent a1d295638a
commit c69e7f059d
6 changed files with 62 additions and 46 deletions
@@ -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"
}