Make PropertyMetadata internal and deprecated with error

To make them inaccessible from Kotlin sources and drop them later. They're
still needed in runtime because Kotlin tests run old IDEA code (which depends
on PropertyMetadata) with our own runtime
This commit is contained in:
Alexander Udalov
2016-01-13 16:03:03 +03:00
parent d1f2255d38
commit 4a31ad0d53
4 changed files with 8 additions and 28 deletions
+1 -1
View File
@@ -1084,7 +1084,7 @@ public abstract class Number {
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.Iterator<N>
}
@kotlin.Deprecated(message = "Please use KProperty instead.", replaceWith = kotlin.ReplaceWith(expression = "KProperty<*>", imports = {"kotlin.reflect.KProperty"})) public interface PropertyMetadata {
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Please use KProperty instead.", replaceWith = kotlin.ReplaceWith(expression = "KProperty<*>", imports = {"kotlin.reflect.KProperty"})) internal interface PropertyMetadata {
public abstract val name: kotlin.String
public abstract fun <get-name>(): kotlin.String
}