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