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,9 +0,0 @@
package test
// test composed from KT-2193
trait A {
open fun f(): String = "test"
}
class B() : A
@@ -1,9 +0,0 @@
namespace test
abstract trait test.A : jet.Any {
open fun f(): jet.String
}
final class test.B : test.A {
final /*constructor*/ fun <init>(): test.B
open override /*1*/ fun f(): jet.String
}
@@ -1,13 +0,0 @@
package test
// test composed from KT-2193
trait A {
open var v: String
get() = "test"
set(value) {
throw UnsupportedOperationException()
}
}
class B() : A
@@ -1,9 +0,0 @@
namespace test
abstract trait test.A : jet.Any {
open var v: jet.String
}
final class test.B : test.A {
final /*constructor*/ fun <init>(): test.B
open var v: jet.String
}