Report initializer block-related diagnostic on 'init' keyword

This commit is contained in:
Alexander Udalov
2016-11-02 15:51:13 +03:00
parent 68cf4bf440
commit eacf64e4db
7 changed files with 25 additions and 18 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
interface I {
<error>init {
<error>init</error> {
val c = 1
val g = c
}</error>
}
val <warning>g</warning> = c
}
}