Annotate new API with @SinceKotlin in kotlin-runtime except reflection and type aliases.

This commit is contained in:
Ilya Gorbunov
2016-10-12 04:44:43 +03:00
parent a57321dea8
commit 2a7717214b
9 changed files with 23 additions and 17 deletions
@@ -22,6 +22,7 @@ private fun notSupportedError(): Nothing {
throw kotlin.UnsupportedOperationException("Not supported for local property reference.")
}
@SinceKotlin("1.1")
open class LocalVariableReference : PropertyReference0() {
override fun getOwner(): KDeclarationContainer = notSupportedError()
@@ -29,6 +30,7 @@ open class LocalVariableReference : PropertyReference0() {
}
@SinceKotlin("1.1")
open class MutableLocalVariableReference : MutablePropertyReference0() {
override fun getOwner(): KDeclarationContainer = notSupportedError()