FIR: simplify rendering of dispatch & extension receivers

This commit is contained in:
Mikhail Glukhikh
2019-08-30 10:21:38 +03:00
parent dfacc2d68f
commit f2c77c45e9
81 changed files with 275 additions and 268 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ FILE: main.kt
public get(): R|kotlin/String?|
public final fun foo(): R|kotlin/String| {
^foo when (lval <elvis>: R|kotlin/String?| = R|elvis/WithElvis.value|) {
^foo when (lval <elvis>: R|kotlin/String?| = this@R|elvis/WithElvis|.R|elvis/WithElvis.value|) {
==($subj$, Null(null)) -> {
String()
}
+1 -1
View File
@@ -1 +1 @@
D|this@R|elvis/WithElvis||.R|elvis/WithElvis.value|
this@R|elvis/WithElvis|.R|elvis/WithElvis.value|
+1 -1
View File
@@ -8,7 +8,7 @@ FILE: main.kt
public get(): R|kotlin/Int|
init {
R|/Foo.x| = Int(42)
this@R|/Foo|.R|/Foo.x| = Int(42)
}
}
+1 -1
View File
@@ -1 +1 @@
D|this@R|/Foo||.R|/Foo.x| = Int(42)
this@R|/Foo|.R|/Foo.x| = Int(42)
+1 -1
View File
@@ -5,7 +5,7 @@ FILE: main.kt
public constructor(): R|Foo| {
super<R|kotlin/Any|>()
R|/Foo.x| = Int(42)
this@R|/Foo|.R|/Foo.x| = Int(42)
}
}
+1 -1
View File
@@ -1 +1 @@
D|this@R|/Foo||.R|/Foo.x| = Int(42)
this@R|/Foo|.R|/Foo.x| = Int(42)
+1 -1
View File
@@ -8,5 +8,5 @@ FILE: main.kt
lval y: <implicit> = Double(2.0)
}
public final fun bar(x: R|kotlin/Int|, y: R|kotlin/Int|): R|kotlin/Int| {
^bar D|R|<local>/x||.R|kotlin/Int.plus|(R|<local>/y|)
^bar R|<local>/x|.R|kotlin/Int.plus|(R|<local>/y|)
}