Add warning when 'val' keyword on annotation parameter is missing

#KT-1900
This commit is contained in:
Natalia Ukhorskaya
2013-12-18 19:16:45 +04:00
parent 513a59d552
commit cce6b952bd
7 changed files with 20 additions and 3 deletions
@@ -0,0 +1,5 @@
annotation class Ann(
val a: Int,
var b: Int,
<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>c: String<!>
)