make modality 'FINAL' for non-class members
not depend on actual modifier since it's not legal there
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package d
|
||||
|
||||
<!ILLEGAL_MODIFIER!>override<!> val f : ()-> Int = { 12 }
|
||||
|
||||
fun test() {
|
||||
f()
|
||||
}
|
||||
Reference in New Issue
Block a user