Allow top-level local delegated properties in scripts

This commit is contained in:
Mikhael Bogdanov
2016-05-10 10:36:44 +03:00
parent 6ece2b41d6
commit c06b51c1d1
10 changed files with 60 additions and 14 deletions
@@ -8,7 +8,7 @@ class Delegate {
}
}
val a: Int <!SCRIPT_TOP_LEVEL_LOCAL_VARIABLE_WITH_DELEGATE!>by Delegate()<!>
val a: Int by Delegate()
class Foo {
val a: Int by Delegate()