FIR IDE: update lazy resolve tests testdata

This commit is contained in:
Ilya Kirillov
2021-03-11 15:23:51 +01:00
parent f8828abeba
commit 4e98d1b857
9 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
FILE: main.kt
public final [CONTRACTS] class WithElvis : R|kotlin/Any| {
public [CONTRACTS] constructor([STATUS] value: R|kotlin/String?|): R|elvis/WithElvis| {
public final [STATUS] class WithElvis : R|kotlin/Any| {
public [STATUS] constructor([STATUS] value: R|kotlin/String?|): R|elvis/WithElvis| {
super<R|kotlin/Any|>()
}
public final [CONTRACTS] val value: R|kotlin/String?| = R|<local>/value|
public final [STATUS] val value: R|kotlin/String?| = R|<local>/value|
[STATUS] public get(): R|kotlin/String?|
public final [BODY_RESOLVE] fun foo(): R|kotlin/String| {
+2 -2
View File
@@ -1,6 +1,6 @@
FILE: main.kt
public final [CONTRACTS] class Foo : R|kotlin/Any| {
public final [CONTRACTS] val x: R|kotlin/Int|
public final [STATUS] class Foo : R|kotlin/Any| {
public final [STATUS] val x: R|kotlin/Int|
[STATUS] public get(): R|kotlin/Int|
public [BODY_RESOLVE] constructor(): R|Foo| {
+1 -1
View File
@@ -1,5 +1,5 @@
FILE: callMe.kt
public final [IMPLICIT_TYPES_BODY_RESOLVE] fun callMe(): R|kotlin/Int| {
public final [BODY_RESOLVE] fun callMe(): R|kotlin/Int| {
^callMe Int(42)
}
public final [STATUS] fun other(): R|kotlin/Unit| { LAZY_BLOCK }
+1 -1
View File
@@ -7,6 +7,6 @@ FILE: main.kt
public final [STATUS] fun foo(): R|kotlin/Unit| {
[RAW_FIR] lval y: <implicit> = Double(2.0)
}
public final [IMPLICIT_TYPES_BODY_RESOLVE] fun bar([IMPLICIT_TYPES_BODY_RESOLVE] x: R|kotlin/Int|, [IMPLICIT_TYPES_BODY_RESOLVE] y: R|kotlin/Int|): R|kotlin/Int| {
public final [BODY_RESOLVE] fun bar([BODY_RESOLVE] x: R|kotlin/Int|, [BODY_RESOLVE] y: R|kotlin/Int|): R|kotlin/Int| {
^bar R|<local>/x|.R|kotlin/Int.plus|(R|<local>/y|)
}
@@ -1,5 +1,5 @@
FILE: myProperty.kt
public final [IMPLICIT_TYPES_BODY_RESOLVE] val myProperty: R|kotlin/Int|
[IMPLICIT_TYPES_BODY_RESOLVE] public get(): R|kotlin/Int| {
public final [BODY_RESOLVE] val myProperty: R|kotlin/Int|
[BODY_RESOLVE] public get(): R|kotlin/Int| {
^ Int(42)
}