Modify analysis for property initializer. Add errors about delegated property accessors.

This commit is contained in:
Natalia.Ukhorskaya
2013-04-26 10:52:20 +04:00
parent 171144e641
commit e7bf3b141f
16 changed files with 246 additions and 15 deletions
@@ -0,0 +1,8 @@
val a: Int by Delegate()
class Delegate {
fun get(t: Any?, p: String): Int {
t.equals(p) // to avoid UNUSED_PARAMETER warning
return 1
}
}