FIR: simplify rendering of dispatch & extension receivers
This commit is contained in:
+1
-1
@@ -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
@@ -1 +1 @@
|
||||
D|this@R|elvis/WithElvis||.R|elvis/WithElvis.value|
|
||||
this@R|elvis/WithElvis|.R|elvis/WithElvis.value|
|
||||
+1
-1
@@ -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
@@ -1 +1 @@
|
||||
D|this@R|/Foo||.R|/Foo.x| = Int(42)
|
||||
this@R|/Foo|.R|/Foo.x| = Int(42)
|
||||
+1
-1
@@ -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
@@ -1 +1 @@
|
||||
D|this@R|/Foo||.R|/Foo.x| = Int(42)
|
||||
this@R|/Foo|.R|/Foo.x| = Int(42)
|
||||
+1
-1
@@ -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|)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user