Report error on local variables having no initializer and no type annotation

This commit is contained in:
Andrey Breslav
2012-08-17 20:54:07 +04:00
parent 2dc6691c1a
commit 306c27a9bb
5 changed files with 15 additions and 2 deletions
@@ -0,0 +1,3 @@
fun test() {
val <!VARIABLE_WITH_NO_TYPE_NO_INITIALIZER, UNUSED_VARIABLE!>a<!>
}