K2 Scripting: fix testdata changed after script statements wrapping
This commit is contained in:
committed by
Space Team
parent
eeb723eb01
commit
a69eaa0ea3
+19
-17
@@ -7,28 +7,30 @@ FILE: [ResolvedTo(BODY_RESOLVE)] secondLevelFunction.kts
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
when () {
|
||||
Boolean(true) -> {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class LocalClass : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|<local>/LocalClass| {
|
||||
super<R|kotlin/Any|>()
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
when () {
|
||||
Boolean(true) -> {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class LocalClass : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|<local>/LocalClass| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
^foo this@R|<local>/LocalClass|.R|<local>/boo|
|
||||
}
|
||||
|
||||
private final [ResolvedTo(BODY_RESOLVE)] val boo: R|kotlin/Int| = Int(9)
|
||||
private [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
^foo this@R|<local>/LocalClass|.R|<local>/boo|
|
||||
[ResolvedTo(BODY_RESOLVE)] lval prop: R|kotlin/Int| = R|<local>/LocalClass.LocalClass|().R|<local>/foo|()
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] y: R|kotlin/Int|): R|kotlin/Int| {
|
||||
^foo R|<local>/y|.R|kotlin/Int.plus|(Int(20))
|
||||
}
|
||||
|
||||
private final [ResolvedTo(BODY_RESOLVE)] val boo: R|kotlin/Int| = Int(9)
|
||||
private [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
R|/x| = R|<local>/foo|(R|<local>/prop|)
|
||||
}
|
||||
|
||||
[ResolvedTo(BODY_RESOLVE)] lval prop: R|kotlin/Int| = R|<local>/LocalClass.LocalClass|().R|<local>/foo|()
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] y: R|kotlin/Int|): R|kotlin/Int| {
|
||||
^foo R|<local>/y|.R|kotlin/Int.plus|(Int(20))
|
||||
}
|
||||
|
||||
R|/x| = R|/foo|(R|<local>/prop|)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user