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
|
||||
|
||||
Reference in New Issue
Block a user