Minor: rename OVERRIDE_CANNOT_BE_STATIC and improve message
This commit is contained in:
+4
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user