Minor: rename OVERRIDE_CANNOT_BE_STATIC and improve message

This commit is contained in:
Pavel V. Talanov
2015-03-04 14:55:21 +03:00
parent 350864b22f
commit afe8773e41
5 changed files with 8 additions and 5 deletions
@@ -29,10 +29,12 @@ class A {
[platformStatic] val z = 1;
<!OVERRIDE_CANNOT_BE_STATIC!>[platformStatic] override val base1: Int<!> = 0
<!OPEN_CANNOT_BE_STATIC!>[platformStatic] override val base1: Int<!> = 0
<!OPEN_CANNOT_BE_STATIC!>platformStatic open fun f()<!> {}
override val base2: Int = 0
<!OVERRIDE_CANNOT_BE_STATIC!>[platformStatic] get<!>
<!OPEN_CANNOT_BE_STATIC!>[platformStatic] get<!>
}
var p:Int = 1
@@ -15,6 +15,7 @@ internal final class A {
internal final var p: kotlin.Int
kotlin.platform.platformStatic() internal final val z: kotlin.Int = 1
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
kotlin.platform.platformStatic() internal open fun f(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}