Revert commit because two commits fixing separate bugs were accidentally stuck together. Will recommit bugfixes separately.

Revert "KT-2193 Nullability information lost for functions inherited from traits".

This reverts commit d60818fd3e.
This commit is contained in:
Evgeny Gerashchenko
2012-06-09 17:04:46 +04:00
parent 0a05197454
commit 208dd4e35d
8 changed files with 5 additions and 118 deletions
@@ -1,10 +0,0 @@
//KT-2206
trait A {
fun f():Int = 239
}
class B() : A
fun box() : String {
return if (B().f() == 239) "OK" else "fail"
}
@@ -1,14 +0,0 @@
//KT-2206
trait A {
var a:Int
get() = 239
set(value) {
}
}
class B() : A
fun box() : String {
return if (B().a == 239) "OK" else "fail"
}