make modality 'FINAL' for non-class members

not depend on actual modifier since it's not legal there
This commit is contained in:
Svetlana Isakova
2012-08-22 20:24:06 +04:00
parent bac0078646
commit f8edaad420
7 changed files with 29 additions and 18 deletions
@@ -1,6 +1,6 @@
package d
<!ILLEGAL_MODIFIER!>abstract<!> val a : Int
<!ILLEGAL_MODIFIER!>abstract<!> val a : Int = 1
<!ILLEGAL_MODIFIER!>override<!> val c : Int = 1