[LL FIR] make script initializers independent

Now we can resolve all script declarations independently

^KT-65344 Fixed
This commit is contained in:
Dmitrii Gridin
2024-02-05 15:57:24 +01:00
committed by Space Team
parent d59b8b3244
commit 58ad26ee5b
26 changed files with 535 additions and 362 deletions
@@ -8,7 +8,7 @@
/* anchor --> */fun build(/* anchor --> */action: Builder.() -> Unit/* <-- */) = Builder().apply(action)/* <-- */
build {
/* anchor --> */build {
version = "123"
class A {
fun doo() {
@@ -17,7 +17,7 @@ build {
}
execute()
}
}/* <-- */
/* anchor --> */val builder = build {
version = "321"