Change Signature: Propagate nullability annotations to overriding methods in Java

This commit is contained in:
Alexey Sedunov
2014-11-28 14:37:51 +03:00
parent c9873428de
commit 250940c824
16 changed files with 231 additions and 37 deletions
@@ -0,0 +1,7 @@
open class A {
open fun foo(n: Int, s: String, o: Any?): String = ""
}
class B: A() {
override fun foo(n: Int, s: String, o: Any?): String = ""
}