Added container text into slicer tests output

This commit is contained in:
Valentin Kipyatkov
2020-04-14 11:56:27 +03:00
parent 2d2d9337ca
commit 23ead3c805
313 changed files with 2253 additions and 2331 deletions
@@ -665,7 +665,7 @@ test.integration.message.text.create.test.in.the.same.source.root=Create test in
test.integration.message.text.kotlin.class=Kotlin class ''{0}'' already exists. Do you want to update it?
test.integration.title.no.test.roots.found=No Test Roots Found
slicer.text.in=\ in {0}
slicer.text.in=in
slicer.text.tracking.enclosing.lambda=\ (Tracking enclosing lambda)
slicer.text.tracking.lambda.calls=\ (Tracking lambda calls)
slicer.text.tracking.lambda.argument=\ (Tracking lambda parameter)
@@ -47,26 +47,36 @@ object KotlinSliceUsageCellRenderer : SliceUsageCellRendererBase() {
append(behaviour.slicePresentationPrefix, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES)
}
containerSuffix(sliceUsage)?.let {
append(" ")
append(it, SimpleTextAttributes.GRAY_ATTRIBUTES)
}
}
fun containerSuffix(sliceUsage: SliceUsage): String? {
val declaration = sliceUsage.element?.parents?.firstOrNull {
it is KtClass ||
it is KtObjectDeclaration && !it.isObjectLiteral() ||
it is KtNamedFunction && !it.isLocal ||
it is KtProperty && !it.isLocal ||
it is KtConstructor<*>
} as? KtDeclaration ?: return
} as? KtDeclaration ?: return null
append(KotlinBundle.message("slicer.text.in", ""), SimpleTextAttributes.GRAY_ATTRIBUTES)
return buildString {
append(KotlinBundle.message("slicer.text.in", ""))
append(" ")
val descriptor = declaration.unsafeResolveToDescriptor()
val descriptor = declaration.unsafeResolveToDescriptor()
if (!descriptor.isExtension && descriptor !is ConstructorDescriptor && !descriptor.isCompanionObject()) {
val containingClassifier = descriptor.containingDeclaration as? ClassifierDescriptor
if (containingClassifier != null) {
append(descriptorRenderer.render(containingClassifier), SimpleTextAttributes.GRAY_ATTRIBUTES)
append(".", SimpleTextAttributes.GRAY_ATTRIBUTES)
if (!descriptor.isExtension && descriptor !is ConstructorDescriptor && !descriptor.isCompanionObject()) {
val containingClassifier = descriptor.containingDeclaration as? ClassifierDescriptor
if (containingClassifier != null) {
append(descriptorRenderer.render(containingClassifier))
append(".")
}
}
}
append(descriptorRenderer.render(descriptor), SimpleTextAttributes.GRAY_ATTRIBUTES)
append(descriptorRenderer.render(descriptor))
}
}
}
+6 -7
View File
@@ -1,8 +1,7 @@
12 foo(<bold>1</bold>)
4 fun foo(<bold>p: Int</bold>)
12 foo(<bold>1</bold>)
17 i.foo(<bold>2</bold>)
4 fun foo(<bold>p: Int</bold>)
17 i.foo(<bold>2</bold>)
12 foo(<bold>1</bold>) (in C.f())
4 fun foo(<bold>p: Int</bold>) (in I.foo(Int))
12 foo(<bold>1</bold>) (in C.f())
17 i.foo(<bold>2</bold>) (in f(I))
4 fun foo(<bold>p: Int</bold>) (in I.foo(Int))
17 i.foo(<bold>2</bold>) (in f(I))
+2 -2
View File
@@ -1,3 +1,3 @@
[NotNull Values]
4 fun foo(<bold>p: Int</bold>)
4 fun foo(<bold>p: Int</bold>)
4 fun foo(<bold>p: Int</bold>) (in I.foo(Int))
4 fun foo(<bold>p: Int</bold>) (in I.foo(Int))
+3 -3
View File
@@ -1,3 +1,3 @@
4 fun foo(<bold>p: Int</bold>)
12 foo(<bold>1</bold>)
17 i.foo(<bold>2</bold>)
4 fun foo(<bold>p: Int</bold>) (in I.foo(Int))
12 foo(<bold>1</bold>) (in C.f())
17 i.foo(<bold>2</bold>) (in f(I))
@@ -1,15 +1,14 @@
4 return f(<bold>1</bold>)
8 val <bold>x = foo(fun(n: Int) = n)</bold>
8 val x = <bold>foo(fun(n: Int) = n)</bold>
4 return f(<bold>1</bold>) (in foo((Int) -> Int))
8 val <bold>x = foo(fun(n: Int) = n)</bold> (in test())
8 val x = <bold>foo(fun(n: Int) = n)</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int) = n</bold>)
8 val x = foo(<bold>fun(n: Int) = n</bold>)
8 val x = foo(fun(n: Int) = <bold>n</bold>)
8 val x = foo(fun(<bold>n: Int</bold>) = n)
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int) = n</bold>)
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int {
4 return f(<bold>1</bold>)
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int) = n</bold>) (in test())
8 val x = foo(<bold>fun(n: Int) = n</bold>) (in test())
8 val x = foo(fun(n: Int) = <bold>n</bold>) (in test())
8 val x = foo(fun(<bold>n: Int</bold>) = n) (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int) = n</bold>) (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
4 return f(<bold>1</bold>) (in foo((Int) -> Int))
@@ -1,3 +1,3 @@
[NotNull Values]
8 val <bold>x = foo(fun(n: Int) = n)</bold>
8 val <bold>x = foo(fun(n: Int) = n)</bold>
8 val <bold>x = foo(fun(n: Int) = n)</bold> (in test())
8 val <bold>x = foo(fun(n: Int) = n)</bold> (in test())
@@ -1,13 +1,13 @@
8 val <bold>x = foo(fun(n: Int) = n)</bold>
8 val x = <bold>foo(fun(n: Int) = n)</bold>
8 val <bold>x = foo(fun(n: Int) = n)</bold> (in test())
8 val x = <bold>foo(fun(n: Int) = n)</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int) = n</bold>)
8 val x = foo(<bold>fun(n: Int) = n</bold>)
8 val x = foo(fun(n: Int) = <bold>n</bold>)
8 val x = foo(fun(<bold>n: Int</bold>) = n)
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int) = n</bold>)
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int {
4 return f(<bold>1</bold>)
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int) = n</bold>) (in test())
8 val x = foo(<bold>fun(n: Int) = n</bold>) (in test())
8 val x = foo(fun(n: Int) = <bold>n</bold>) (in test())
8 val x = foo(fun(<bold>n: Int</bold>) = n) (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int) = n</bold>) (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
4 return f(<bold>1</bold>) (in foo((Int) -> Int))
@@ -1,15 +1,14 @@
4 return f(<bold>1</bold>)
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold>
8 val x = <bold>foo(fun(n: Int): Int { return n })</bold>
4 return f(<bold>1</bold>) (in foo((Int) -> Int))
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold> (in test())
8 val x = <bold>foo(fun(n: Int): Int { return n })</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int): Int { return n }</bold>)
8 val x = foo(<bold>fun(n: Int): Int { return n }</bold>)
8 val x = foo(fun(n: Int): Int { return <bold>n</bold> })
8 val x = foo(fun(<bold>n: Int</bold>): Int { return n })
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int): Int { return n }</bold>)
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int {
4 return f(<bold>1</bold>)
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int): Int { return n }</bold>) (in test())
8 val x = foo(<bold>fun(n: Int): Int { return n }</bold>) (in test())
8 val x = foo(fun(n: Int): Int { return <bold>n</bold> }) (in test())
8 val x = foo(fun(<bold>n: Int</bold>): Int { return n }) (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int): Int { return n }</bold>) (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
4 return f(<bold>1</bold>) (in foo((Int) -> Int))
@@ -1,3 +1,3 @@
[NotNull Values]
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold>
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold>
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold> (in test())
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold> (in test())
@@ -1,13 +1,13 @@
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold>
8 val x = <bold>foo(fun(n: Int): Int { return n })</bold>
8 val <bold>x = foo(fun(n: Int): Int { return n })</bold> (in test())
8 val x = <bold>foo(fun(n: Int): Int { return n })</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int): Int { return n }</bold>)
8 val x = foo(<bold>fun(n: Int): Int { return n }</bold>)
8 val x = foo(fun(n: Int): Int { return <bold>n</bold> })
8 val x = foo(fun(<bold>n: Int</bold>): Int { return n })
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int): Int { return n }</bold>)
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int {
4 return f(<bold>1</bold>)
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
8 [LAMBDA IN] val x = foo(<bold>fun(n: Int): Int { return n }</bold>) (in test())
8 val x = foo(<bold>fun(n: Int): Int { return n }</bold>) (in test())
8 val x = foo(fun(n: Int): Int { return <bold>n</bold> }) (in test())
8 val x = foo(fun(<bold>n: Int</bold>): Int { return n }) (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(<bold>fun(n: Int): Int { return n }</bold>) (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
4 return f(<bold>1</bold>) (in foo((Int) -> Int))
@@ -1,8 +1,7 @@
4 f(<bold>1</bold>)
9 val <bold>v = value</bold>
9 val v = <bold>value</bold>
8 foo(fun(<bold>value: Int</bold>) {
8 [LAMBDA CALLS ARGUMENT #0] foo(<bold>fun(value: Int) {</bold>
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) {
4 f(<bold>1</bold>)
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
9 val <bold>v = value</bold> (in test())
9 val v = <bold>value</bold> (in test())
8 foo(fun(<bold>value: Int</bold>) { (in test())
8 [LAMBDA CALLS ARGUMENT #0] foo(<bold>fun(value: Int) {</bold> (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) { (in foo((Int) -> Unit))
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
@@ -1,3 +1,3 @@
[NotNull Values]
9 val <bold>v = value</bold>
9 val <bold>v = value</bold>
9 val <bold>v = value</bold> (in test())
9 val <bold>v = value</bold> (in test())
@@ -1,6 +1,6 @@
9 val <bold>v = value</bold>
9 val v = <bold>value</bold>
8 foo(fun(<bold>value: Int</bold>) {
8 [LAMBDA CALLS ARGUMENT #0] foo(<bold>fun(value: Int) {</bold>
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) {
4 f(<bold>1</bold>)
9 val <bold>v = value</bold> (in test())
9 val v = <bold>value</bold> (in test())
8 foo(fun(<bold>value: Int</bold>) { (in test())
8 [LAMBDA CALLS ARGUMENT #0] foo(<bold>fun(value: Int) {</bold> (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) { (in foo((Int) -> Unit))
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
+5 -6
View File
@@ -1,6 +1,5 @@
3 fun test(<bold>o: Any</bold>) {
4 val <bold>x = o as String</bold>
4 val x = <bold>o as String</bold>
4 val x = <bold>o</bold> as String
3 fun test(<bold>o: Any</bold>) {
3 fun test(<bold>o: Any</bold>) { (in test(Any))
4 val <bold>x = o as String</bold> (in test(Any))
4 val x = <bold>o as String</bold> (in test(Any))
4 val x = <bold>o</bold> as String (in test(Any))
3 fun test(<bold>o: Any</bold>) { (in test(Any))
+2 -3
View File
@@ -1,4 +1,3 @@
[NotNull Values]
4 val <bold>x = o as String</bold>
4 val <bold>x = o as String</bold>
4 val <bold>x = o as String</bold> (in test(Any))
4 val <bold>x = o as String</bold> (in test(Any))
+4 -4
View File
@@ -1,4 +1,4 @@
4 val <bold>x = o as String</bold>
4 val x = <bold>o as String</bold>
4 val x = <bold>o</bold> as String
3 fun test(<bold>o: Any</bold>) {
4 val <bold>x = o as String</bold> (in test(Any))
4 val x = <bold>o as String</bold> (in test(Any))
4 val x = <bold>o</bold> as String (in test(Any))
3 fun test(<bold>o: Any</bold>) { (in test(Any))
@@ -1,17 +1,17 @@
7 <bold>--result</bold>
7 <bold>--result</bold> (in assignmentWithSum(Int))
3 fun <bold>assignmentWithSum(n: Int): Int {</bold>
8 return <bold>result</bold>
4 var <bold>result = 0</bold>
7 <bold>--result</bold>
8 return <bold>result</bold> (in assignmentWithSum(Int))
4 var <bold>result = 0</bold> (in assignmentWithSum(Int))
7 <bold>--result</bold> (in assignmentWithSum(Int))
4 var result = <bold>0</bold>
4 var result = <bold>0</bold> (in assignmentWithSum(Int))
3 fun <bold>assignmentWithSum(n: Int): Int {</bold>
8 return <bold>result</bold>
4 var <bold>result = 0</bold>
4 var result = <bold>0</bold>
8 return <bold>result</bold> (in assignmentWithSum(Int))
4 var <bold>result = 0</bold> (in assignmentWithSum(Int))
4 var result = <bold>0</bold> (in assignmentWithSum(Int))
5 <bold>result += n</bold>
5 <bold>result += n</bold> (in assignmentWithSum(Int))
3 fun <bold>assignmentWithSum(n: Int): Int {</bold>
8 return <bold>result</bold>
4 var <bold>result = 0</bold>
5 <bold>result += n</bold>
8 return <bold>result</bold> (in assignmentWithSum(Int))
4 var <bold>result = 0</bold> (in assignmentWithSum(Int))
5 <bold>result += n</bold> (in assignmentWithSum(Int))
@@ -1,8 +1,8 @@
3 fun <bold>assignmentWithSum(n: Int): Int {</bold>
8 return <bold>result</bold>
4 var <bold>result = 0</bold>
4 var result = <bold>0</bold>
5 <bold>result += n</bold>
6 <bold>result++</bold>
4 DUPLICATE: var <bold>result = 0</bold>
7 <bold>--result</bold>
8 return <bold>result</bold> (in assignmentWithSum(Int))
4 var <bold>result = 0</bold> (in assignmentWithSum(Int))
4 var result = <bold>0</bold> (in assignmentWithSum(Int))
5 <bold>result += n</bold> (in assignmentWithSum(Int))
6 <bold>result++</bold> (in assignmentWithSum(Int))
4 DUPLICATE: var <bold>result = 0</bold> (in assignmentWithSum(Int))
7 <bold>--result</bold> (in assignmentWithSum(Int))
@@ -1,13 +1,12 @@
4 var foo: Int = <bold>0</bold>
10 val x = <bold>foo</bold>
4 var <bold>foo: Int = 0</bold>
4 var foo: Int = <bold>0</bold>
11 foo = <bold>1</bold>
10 val x = <bold>foo</bold>
4 var <bold>foo: Int = 0</bold>
6 field = <bold>if (b) value else 0</bold>
6 field = if (b) <bold>value</bold> else 0
5 set(<bold>value</bold>) {
11 foo = <bold>1</bold>
4 var foo: Int = <bold>0</bold> (in A.foo: Int)
10 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = 0</bold> (in A)
4 var foo: Int = <bold>0</bold> (in A.foo: Int)
11 foo = <bold>1</bold> (in A.test())
10 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = 0</bold> (in A)
6 field = <bold>if (b) value else 0</bold> (in A.foo: Int)
6 field = if (b) <bold>value</bold> else 0 (in A.foo: Int)
5 set(<bold>value</bold>) { (in A.foo: Int)
11 foo = <bold>1</bold> (in A.test())
@@ -1,3 +1,3 @@
[NotNull Values]
10 val x = <bold>foo</bold>
10 val x = <bold>foo</bold>
10 val x = <bold>foo</bold> (in A.test())
10 val x = <bold>foo</bold> (in A.test())
@@ -1,8 +1,8 @@
10 val x = <bold>foo</bold>
4 var <bold>foo: Int = 0</bold>
4 var foo: Int = <bold>0</bold>
6 field = <bold>if (b) value else 0</bold>
6 field = if (b) <bold>value</bold> else 0
5 set(<bold>value</bold>) {
11 foo = <bold>1</bold>
6 field = if (b) value else <bold>0</bold>
10 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = 0</bold> (in A)
4 var foo: Int = <bold>0</bold> (in A.foo: Int)
6 field = <bold>if (b) value else 0</bold> (in A.foo: Int)
6 field = if (b) <bold>value</bold> else 0 (in A.foo: Int)
5 set(<bold>value</bold>) { (in A.foo: Int)
11 foo = <bold>1</bold> (in A.test())
6 field = if (b) value else <bold>0</bold> (in A.foo: Int)
+5 -6
View File
@@ -1,7 +1,6 @@
6 operator fun getValue(thisRef: Any?, property: KProperty<*>) = <bold>1</bold>
12 val <bold>x = foo</bold>
12 val x = <bold>foo</bold>
6 operator fun getValue(thisRef: Any?, property: KProperty<*>) = <bold>1</bold> (in D.getValue(Any?, KProperty<*>))
12 val <bold>x = foo</bold> (in test())
12 val x = <bold>foo</bold> (in test())
9 val <bold>foo: Int by D</bold>
6 operator fun <bold>getValue(thisRef: Any?, property: KProperty<*>) = 1</bold>
6 operator fun getValue(thisRef: Any?, property: KProperty<*>) = <bold>1</bold>
6 operator fun <bold>getValue(thisRef: Any?, property: KProperty<*>) = 1</bold> (in D)
6 operator fun getValue(thisRef: Any?, property: KProperty<*>) = <bold>1</bold> (in D.getValue(Any?, KProperty<*>))
@@ -1,3 +1,3 @@
[NotNull Values]
12 val <bold>x = foo</bold>
12 val <bold>x = foo</bold>
12 val <bold>x = foo</bold> (in test())
12 val <bold>x = foo</bold> (in test())
+4 -4
View File
@@ -1,5 +1,5 @@
12 val <bold>x = foo</bold>
12 val x = <bold>foo</bold>
12 val <bold>x = foo</bold> (in test())
12 val x = <bold>foo</bold> (in test())
9 val <bold>foo: Int by D</bold>
6 operator fun <bold>getValue(thisRef: Any?, property: KProperty<*>) = 1</bold>
6 operator fun getValue(thisRef: Any?, property: KProperty<*>) = <bold>1</bold>
6 operator fun <bold>getValue(thisRef: Any?, property: KProperty<*>) = 1</bold> (in D)
6 operator fun getValue(thisRef: Any?, property: KProperty<*>) = <bold>1</bold> (in D.getValue(Any?, KProperty<*>))
@@ -1,5 +1,5 @@
9 return <bold>1</bold>;
7 val <bold>x = foo</bold>
7 val x = <bold>foo</bold>
7 val <bold>x = foo</bold> (in test())
7 val x = <bold>foo</bold> (in test())
4 val <bold>foo: Int by D.INSTANCE</bold>
9 return <bold>1</bold>;
@@ -1,3 +1,3 @@
[NotNull Values]
7 val <bold>x = foo</bold>
7 val <bold>x = foo</bold>
7 val <bold>x = foo</bold> (in test())
7 val <bold>x = foo</bold> (in test())
@@ -1,4 +1,4 @@
7 val <bold>x = foo</bold>
7 val x = <bold>foo</bold>
7 val <bold>x = foo</bold> (in test())
7 val x = <bold>foo</bold> (in test())
4 val <bold>foo: Int by D.INSTANCE</bold>
9 return <bold>1</bold>;
@@ -1,11 +1,10 @@
4 override fun foo() = <bold>2</bold>
9 val <bold>y = b.foo()</bold>
9 val y = <bold>b.foo()</bold>
4 override fun <bold>foo() = 2</bold>
4 override fun foo() = <bold>2</bold>
4 override fun foo() = <bold>2</bold> (in B.foo())
9 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
9 val y = <bold>b.foo()</bold> (in test(A, B, C, D))
4 override fun <bold>foo() = 2</bold> (in B)
4 override fun foo() = <bold>2</bold> (in B.foo())
11 return <bold>4</bold>;
9 val <bold>y = b.foo()</bold>
9 val y = <bold>b.foo()</bold>
9 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
9 val y = <bold>b.foo()</bold> (in test(A, B, C, D))
11 return <bold>4</bold>;
@@ -1,3 +1,3 @@
[NotNull Values]
9 val <bold>y = b.foo()</bold>
9 val <bold>y = b.foo()</bold>
9 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
9 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
@@ -1,5 +1,5 @@
9 val <bold>y = b.foo()</bold>
9 val y = <bold>b.foo()</bold>
4 override fun <bold>foo() = 2</bold>
4 override fun foo() = <bold>2</bold>
9 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
9 val y = <bold>b.foo()</bold> (in test(A, B, C, D))
4 override fun <bold>foo() = 2</bold> (in B)
4 override fun foo() = <bold>2</bold> (in B.foo())
11 return <bold>4</bold>;
@@ -1,10 +1,10 @@
4 override fun foo() = <bold>3</bold>
10 val <bold>z = c.foo()</bold>
10 val z = <bold>c.foo()</bold>
4 override fun <bold>foo() = 3</bold>
4 override fun foo() = <bold>3</bold>
4 override fun foo() = <bold>3</bold> (in C.foo())
10 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
10 val z = <bold>c.foo()</bold> (in test(A, B, C, D))
4 override fun <bold>foo() = 3</bold> (in C)
4 override fun foo() = <bold>3</bold> (in C.foo())
13 return <bold>4</bold>;
10 val <bold>z = c.foo()</bold>
10 val z = <bold>c.foo()</bold>
10 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
10 val z = <bold>c.foo()</bold> (in test(A, B, C, D))
13 return <bold>4</bold>;
@@ -1,3 +1,3 @@
[NotNull Values]
10 val <bold>z = c.foo()</bold>
10 val <bold>z = c.foo()</bold>
10 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
10 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
@@ -1,5 +1,5 @@
10 val <bold>z = c.foo()</bold>
10 val z = <bold>c.foo()</bold>
4 override fun <bold>foo() = 3</bold>
4 override fun foo() = <bold>3</bold>
10 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
10 val z = <bold>c.foo()</bold> (in test(A, B, C, D))
4 override fun <bold>foo() = 3</bold> (in C)
4 override fun foo() = <bold>3</bold> (in C.foo())
13 return <bold>4</bold>;
@@ -1,15 +1,15 @@
4 fun foo() = <bold>1</bold>
8 val <bold>x = a.foo()</bold>
8 val x = <bold>a.foo()</bold>
4 fun <bold>foo() = 1</bold>
4 fun foo() = <bold>1</bold>
4 fun foo() = <bold>1</bold> (in A.foo())
8 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
8 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
4 fun <bold>foo() = 1</bold> (in A)
4 fun foo() = <bold>1</bold> (in A.foo())
3 return <bold>2</bold>;
8 val <bold>x = a.foo()</bold>
8 val x = <bold>a.foo()</bold>
8 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
8 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
3 return <bold>2</bold>;
13 return <bold>4</bold>;
8 val <bold>x = a.foo()</bold>
8 val x = <bold>a.foo()</bold>
8 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
8 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
13 return <bold>4</bold>;
@@ -1,3 +1,3 @@
[NotNull Values]
8 val <bold>x = a.foo()</bold>
8 val <bold>x = a.foo()</bold>
8 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
8 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
@@ -1,6 +1,6 @@
8 val <bold>x = a.foo()</bold>
8 val x = <bold>a.foo()</bold>
4 fun <bold>foo() = 1</bold>
4 fun foo() = <bold>1</bold>
8 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
8 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
4 fun <bold>foo() = 1</bold> (in A)
4 fun foo() = <bold>1</bold> (in A.foo())
3 return <bold>2</bold>;
13 return <bold>4</bold>;
@@ -1,12 +1,11 @@
8 override fun foo() = <bold>2</bold>
21 val <bold>y = b.foo()</bold>
21 val y = <bold>b.foo()</bold>
8 override fun <bold>foo() = 2</bold>
8 override fun foo() = <bold>2</bold>
16 override fun foo() = <bold>4</bold>
21 val <bold>y = b.foo()</bold>
21 val y = <bold>b.foo()</bold>
16 override fun <bold>foo() = 4</bold>
16 override fun foo() = <bold>4</bold>
8 override fun foo() = <bold>2</bold> (in B.foo())
21 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
21 val y = <bold>b.foo()</bold> (in test(A, B, C, D))
8 override fun <bold>foo() = 2</bold> (in B)
8 override fun foo() = <bold>2</bold> (in B.foo())
16 override fun foo() = <bold>4</bold> (in D.foo())
21 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
21 val y = <bold>b.foo()</bold> (in test(A, B, C, D))
16 override fun <bold>foo() = 4</bold> (in D)
16 override fun foo() = <bold>4</bold> (in D.foo())
@@ -1,3 +1,3 @@
[NotNull Values]
21 val <bold>y = b.foo()</bold>
21 val <bold>y = b.foo()</bold>
21 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
21 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
@@ -1,6 +1,6 @@
21 val <bold>y = b.foo()</bold>
21 val y = <bold>b.foo()</bold>
8 override fun <bold>foo() = 2</bold>
8 override fun foo() = <bold>2</bold>
16 override fun <bold>foo() = 4</bold>
16 override fun foo() = <bold>4</bold>
21 val <bold>y = b.foo()</bold> (in test(A, B, C, D))
21 val y = <bold>b.foo()</bold> (in test(A, B, C, D))
8 override fun <bold>foo() = 2</bold> (in B)
8 override fun foo() = <bold>2</bold> (in B.foo())
16 override fun <bold>foo() = 4</bold> (in D)
16 override fun foo() = <bold>4</bold> (in D.foo())
@@ -1,12 +1,11 @@
12 override fun foo() = <bold>3</bold>
22 val <bold>z = c.foo()</bold>
22 val z = <bold>c.foo()</bold>
12 override fun <bold>foo() = 3</bold>
12 override fun foo() = <bold>3</bold>
16 override fun foo() = <bold>4</bold>
22 val <bold>z = c.foo()</bold>
22 val z = <bold>c.foo()</bold>
16 override fun <bold>foo() = 4</bold>
16 override fun foo() = <bold>4</bold>
12 override fun foo() = <bold>3</bold> (in C.foo())
22 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
22 val z = <bold>c.foo()</bold> (in test(A, B, C, D))
12 override fun <bold>foo() = 3</bold> (in C)
12 override fun foo() = <bold>3</bold> (in C.foo())
16 override fun foo() = <bold>4</bold> (in D.foo())
22 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
22 val z = <bold>c.foo()</bold> (in test(A, B, C, D))
16 override fun <bold>foo() = 4</bold> (in D)
16 override fun foo() = <bold>4</bold> (in D.foo())
@@ -1,3 +1,3 @@
[NotNull Values]
22 val <bold>z = c.foo()</bold>
22 val <bold>z = c.foo()</bold>
22 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
22 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
@@ -1,6 +1,6 @@
22 val <bold>z = c.foo()</bold>
22 val z = <bold>c.foo()</bold>
12 override fun <bold>foo() = 3</bold>
12 override fun foo() = <bold>3</bold>
16 override fun <bold>foo() = 4</bold>
16 override fun foo() = <bold>4</bold>
22 val <bold>z = c.foo()</bold> (in test(A, B, C, D))
22 val z = <bold>c.foo()</bold> (in test(A, B, C, D))
12 override fun <bold>foo() = 3</bold> (in C)
12 override fun foo() = <bold>3</bold> (in C.foo())
16 override fun <bold>foo() = 4</bold> (in D)
16 override fun foo() = <bold>4</bold> (in D.foo())
@@ -1,24 +1,23 @@
4 fun foo() = <bold>1</bold>
20 val <bold>x = a.foo()</bold>
20 val x = <bold>a.foo()</bold>
4 fun <bold>foo() = 1</bold>
4 fun foo() = <bold>1</bold>
4 fun foo() = <bold>1</bold> (in A.foo())
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
20 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
4 fun <bold>foo() = 1</bold> (in A)
4 fun foo() = <bold>1</bold> (in A.foo())
8 override fun foo() = <bold>2</bold>
20 val <bold>x = a.foo()</bold>
20 val x = <bold>a.foo()</bold>
8 override fun <bold>foo() = 2</bold>
8 override fun foo() = <bold>2</bold>
8 override fun foo() = <bold>2</bold> (in B.foo())
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
20 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
8 override fun <bold>foo() = 2</bold> (in B)
8 override fun foo() = <bold>2</bold> (in B.foo())
12 override fun foo() = <bold>3</bold>
20 val <bold>x = a.foo()</bold>
20 val x = <bold>a.foo()</bold>
12 override fun <bold>foo() = 3</bold>
12 override fun foo() = <bold>3</bold>
16 override fun foo() = <bold>4</bold>
20 val <bold>x = a.foo()</bold>
20 val x = <bold>a.foo()</bold>
16 override fun <bold>foo() = 4</bold>
16 override fun foo() = <bold>4</bold>
12 override fun foo() = <bold>3</bold> (in C.foo())
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
20 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
12 override fun <bold>foo() = 3</bold> (in C)
12 override fun foo() = <bold>3</bold> (in C.foo())
16 override fun foo() = <bold>4</bold> (in D.foo())
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
20 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
16 override fun <bold>foo() = 4</bold> (in D)
16 override fun foo() = <bold>4</bold> (in D.foo())
@@ -1,3 +1,3 @@
[NotNull Values]
20 val <bold>x = a.foo()</bold>
20 val <bold>x = a.foo()</bold>
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
@@ -1,10 +1,10 @@
20 val <bold>x = a.foo()</bold>
20 val x = <bold>a.foo()</bold>
4 fun <bold>foo() = 1</bold>
4 fun foo() = <bold>1</bold>
8 override fun <bold>foo() = 2</bold>
8 override fun foo() = <bold>2</bold>
12 override fun <bold>foo() = 3</bold>
12 override fun foo() = <bold>3</bold>
16 override fun <bold>foo() = 4</bold>
16 override fun foo() = <bold>4</bold>
20 val <bold>x = a.foo()</bold> (in test(A, B, C, D))
20 val x = <bold>a.foo()</bold> (in test(A, B, C, D))
4 fun <bold>foo() = 1</bold> (in A)
4 fun foo() = <bold>1</bold> (in A.foo())
8 override fun <bold>foo() = 2</bold> (in B)
8 override fun foo() = <bold>2</bold> (in B.foo())
12 override fun <bold>foo() = 3</bold> (in C)
12 override fun foo() = <bold>3</bold> (in C.foo())
16 override fun <bold>foo() = 4</bold> (in D)
16 override fun foo() = <bold>4</bold> (in D.foo())
+20 -21
View File
@@ -1,22 +1,21 @@
8 val x = foo(1, <bold>2</bold>) { { it } }
8 val <bold>x = foo(1, 2) { { it } }</bold>
8 val x = <bold>foo(1, 2) { { it } }</bold>
8 val x = foo(1, <bold>2</bold>) { { it } } (in test())
8 val <bold>x = foo(1, 2) { { it } }</bold> (in test())
8 val x = <bold>foo(1, 2) { { it } }</bold> (in test())
3 fun <bold>foo(a: Int, b: Int, f: (Int) -> (Int) -> Int): Int {</bold>
4 return <bold>f(a)(b)</bold>
4 [LAMBDA IN] return <bold>f(a)</bold>(b)
4 [LAMBDA IN] [LAMBDA IN] return <bold>f</bold>(a)(b)
3 [LAMBDA IN] [LAMBDA IN] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int {
8 [LAMBDA IN] [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold>
8 [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold>
8 [LAMBDA IN] val x = foo(1, 2) { <bold>{ it }</bold> }
8 val x = foo(1, 2) { <bold>{ it }</bold> }
8 val x = foo(1, 2) { { <bold>it</bold> } }
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) { <bold>{ it }</bold> }
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold>
8 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold>
3 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int {
4 [LAMBDA CALLS ARGUMENT #0] return <bold>f(a)</bold>(b)
4 return f(a)(<bold>b</bold>)
3 fun foo(a: Int, <bold>b: Int</bold>, f: (Int) -> (Int) -> Int): Int {
8 val x = foo(1, <bold>2</bold>) { { it } }
4 return <bold>f(a)(b)</bold> (in foo(Int, Int, (Int) -> (Int) -> Int))
4 [LAMBDA IN] return <bold>f(a)</bold>(b) (in foo(Int, Int, (Int) -> (Int) -> Int))
4 [LAMBDA IN] [LAMBDA IN] return <bold>f</bold>(a)(b) (in foo(Int, Int, (Int) -> (Int) -> Int))
3 [LAMBDA IN] [LAMBDA IN] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int { (in foo(Int, Int, (Int) -> (Int) -> Int))
8 [LAMBDA IN] [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
8 [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
8 [LAMBDA IN] val x = foo(1, 2) { <bold>{ it }</bold> } (in test())
8 val x = foo(1, 2) { <bold>{ it }</bold> } (in test())
8 val x = foo(1, 2) { { <bold>it</bold> } } (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) { <bold>{ it }</bold> } (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
8 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
3 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int { (in foo(Int, Int, (Int) -> (Int) -> Int))
4 [LAMBDA CALLS ARGUMENT #0] return <bold>f(a)</bold>(b) (in foo(Int, Int, (Int) -> (Int) -> Int))
4 return f(a)(<bold>b</bold>) (in foo(Int, Int, (Int) -> (Int) -> Int))
3 fun foo(a: Int, <bold>b: Int</bold>, f: (Int) -> (Int) -> Int): Int { (in foo(Int, Int, (Int) -> (Int) -> Int))
8 val x = foo(1, <bold>2</bold>) { { it } } (in test())
@@ -1,3 +1,3 @@
[NotNull Values]
8 val <bold>x = foo(1, 2) { { it } }</bold>
8 val <bold>x = foo(1, 2) { { it } }</bold>
8 val <bold>x = foo(1, 2) { { it } }</bold> (in test())
8 val <bold>x = foo(1, 2) { { it } }</bold> (in test())
+19 -19
View File
@@ -1,20 +1,20 @@
8 val <bold>x = foo(1, 2) { { it } }</bold>
8 val x = <bold>foo(1, 2) { { it } }</bold>
8 val <bold>x = foo(1, 2) { { it } }</bold> (in test())
8 val x = <bold>foo(1, 2) { { it } }</bold> (in test())
3 fun <bold>foo(a: Int, b: Int, f: (Int) -> (Int) -> Int): Int {</bold>
4 return <bold>f(a)(b)</bold>
4 [LAMBDA IN] return <bold>f(a)</bold>(b)
4 [LAMBDA IN] [LAMBDA IN] return <bold>f</bold>(a)(b)
3 [LAMBDA IN] [LAMBDA IN] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int {
8 [LAMBDA IN] [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold>
8 [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold>
8 [LAMBDA IN] val x = foo(1, 2) { <bold>{ it }</bold> }
8 val x = foo(1, 2) { <bold>{ it }</bold> }
8 val x = foo(1, 2) { { <bold>it</bold> } }
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) { <bold>{ it }</bold> }
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold>
8 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold>
3 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int {
4 [LAMBDA CALLS ARGUMENT #0] return <bold>f(a)</bold>(b)
4 return f(a)(<bold>b</bold>)
3 fun foo(a: Int, <bold>b: Int</bold>, f: (Int) -> (Int) -> Int): Int {
8 val x = foo(1, <bold>2</bold>) { { it } }
4 return <bold>f(a)(b)</bold> (in foo(Int, Int, (Int) -> (Int) -> Int))
4 [LAMBDA IN] return <bold>f(a)</bold>(b) (in foo(Int, Int, (Int) -> (Int) -> Int))
4 [LAMBDA IN] [LAMBDA IN] return <bold>f</bold>(a)(b) (in foo(Int, Int, (Int) -> (Int) -> Int))
3 [LAMBDA IN] [LAMBDA IN] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int { (in foo(Int, Int, (Int) -> (Int) -> Int))
8 [LAMBDA IN] [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
8 [LAMBDA IN] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
8 [LAMBDA IN] val x = foo(1, 2) { <bold>{ it }</bold> } (in test())
8 val x = foo(1, 2) { <bold>{ it }</bold> } (in test())
8 val x = foo(1, 2) { { <bold>it</bold> } } (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) { <bold>{ it }</bold> } (in test())
8 [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
8 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] val x = foo(1, 2) <bold>{ { it } }</bold> (in test())
3 [LAMBDA CALLS] [LAMBDA CALLS ARGUMENT #0] fun foo(a: Int, b: Int, <bold>f: (Int) -> (Int) -> Int</bold>): Int { (in foo(Int, Int, (Int) -> (Int) -> Int))
4 [LAMBDA CALLS ARGUMENT #0] return <bold>f(a)</bold>(b) (in foo(Int, Int, (Int) -> (Int) -> Int))
4 return f(a)(<bold>b</bold>) (in foo(Int, Int, (Int) -> (Int) -> Int))
3 fun foo(a: Int, <bold>b: Int</bold>, f: (Int) -> (Int) -> Int): Int { (in foo(Int, Int, (Int) -> (Int) -> Int))
8 val x = foo(1, <bold>2</bold>) { { it } } (in test())
@@ -1,18 +1,17 @@
5 f("", <bold>1</bold>)
16 val v = <bold>it</bold>
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
5 f("", <bold>1</bold>)
5 f("", <bold>1</bold>) (in foo(String.(Int) -> Unit))
16 val v = <bold>it</bold> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
5 f("", <bold>1</bold>) (in foo(String.(Int) -> Unit))
7 "".f(<bold>2</bold>)
16 val v = <bold>it</bold>
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
7 "".f(<bold>2</bold>)
10 f(<bold>3</bold>)
16 val v = <bold>it</bold>
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
10 f(<bold>3</bold>)
7 "".f(<bold>2</bold>) (in foo(String.(Int) -> Unit))
16 val v = <bold>it</bold> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
7 "".f(<bold>2</bold>) (in foo(String.(Int) -> Unit))
10 f(<bold>3</bold>) (in foo(String.(Int) -> Unit))
16 val v = <bold>it</bold> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
10 f(<bold>3</bold>) (in foo(String.(Int) -> Unit))
@@ -1,4 +1,3 @@
[NotNull Values]
16 val v = <bold>it</bold>
16 val v = <bold>it</bold>
16 val v = <bold>it</bold> (in test())
16 val v = <bold>it</bold> (in test())
@@ -1,6 +1,6 @@
16 val v = <bold>it</bold>
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
5 f("", <bold>1</bold>)
7 "".f(<bold>2</bold>)
10 f(<bold>3</bold>)
16 val v = <bold>it</bold> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{</bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
5 f("", <bold>1</bold>) (in foo(String.(Int) -> Unit))
7 "".f(<bold>2</bold>) (in foo(String.(Int) -> Unit))
10 f(<bold>3</bold>) (in foo(String.(Int) -> Unit))
@@ -1,21 +1,20 @@
5 f("", <bold>1</bold>)
16 val v = <bold>i</bold>
15 foo { <bold>i</bold> ->
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
5 f("", <bold>1</bold>)
5 f("", <bold>1</bold>) (in foo(String.(Int) -> Unit))
16 val v = <bold>i</bold> (in test())
15 foo { <bold>i</bold> -> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
5 f("", <bold>1</bold>) (in foo(String.(Int) -> Unit))
7 "".f(<bold>2</bold>)
16 val v = <bold>i</bold>
15 foo { <bold>i</bold> ->
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
7 "".f(<bold>2</bold>)
10 f(<bold>3</bold>)
16 val v = <bold>i</bold>
15 foo { <bold>i</bold> ->
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
10 f(<bold>3</bold>)
7 "".f(<bold>2</bold>) (in foo(String.(Int) -> Unit))
16 val v = <bold>i</bold> (in test())
15 foo { <bold>i</bold> -> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
7 "".f(<bold>2</bold>) (in foo(String.(Int) -> Unit))
10 f(<bold>3</bold>) (in foo(String.(Int) -> Unit))
16 val v = <bold>i</bold> (in test())
15 foo { <bold>i</bold> -> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
10 f(<bold>3</bold>) (in foo(String.(Int) -> Unit))
@@ -1,4 +1,3 @@
[NotNull Values]
16 val v = <bold>i</bold>
16 val v = <bold>i</bold>
16 val v = <bold>i</bold> (in test())
16 val v = <bold>i</bold> (in test())
@@ -1,7 +1,7 @@
16 val v = <bold>i</bold>
15 foo { <bold>i</bold> ->
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold>
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) {
5 f("", <bold>1</bold>)
7 "".f(<bold>2</bold>)
10 f(<bold>3</bold>)
16 val v = <bold>i</bold> (in test())
15 foo { <bold>i</bold> -> (in test())
15 [LAMBDA CALLS ARGUMENT #0 EXTENSION] foo <bold>{ i -></bold> (in test())
4 [LAMBDA CALLS ARGUMENT #0 EXTENSION] fun foo(<bold>f: String.(Int) -> Unit</bold>) { (in foo(String.(Int) -> Unit))
5 f("", <bold>1</bold>) (in foo(String.(Int) -> Unit))
7 "".f(<bold>2</bold>) (in foo(String.(Int) -> Unit))
10 f(<bold>3</bold>) (in foo(String.(Int) -> Unit))
@@ -1,9 +1,8 @@
5 with(<bold>"A"</bold>) {
6 val <bold>v = this</bold>
6 val v = <bold>this</bold>
5 [LAMBDA CALLS RECEIVER] with("A") <bold>{</bold>
LIB (INLINE CALL with) [LAMBDA CALLS RECEIVER] public inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
LIB (INLINE CALL with) return <bold>receiver</bold>.block()
LIB (INLINE CALL with) public inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
5 with(<bold>"A"</bold>) {
5 with(<bold>"A"</bold>) { (in foo())
6 val <bold>v = this</bold> (in foo())
6 val v = <bold>this</bold> (in foo())
5 [LAMBDA CALLS RECEIVER] with("A") <bold>{</bold> (in foo())
LIB (INLINE CALL with) [LAMBDA CALLS RECEIVER] public inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
LIB (INLINE CALL with) return <bold>receiver</bold>.block() (in with(T, T.() -> R))
LIB (INLINE CALL with) public inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
5 with(<bold>"A"</bold>) { (in foo())
@@ -1,4 +1,3 @@
[NotNull Values]
6 val <bold>v = this</bold>
6 val <bold>v = this</bold>
6 val <bold>v = this</bold> (in foo())
6 val <bold>v = this</bold> (in foo())
@@ -1,7 +1,7 @@
6 val <bold>v = this</bold>
6 val v = <bold>this</bold>
5 [LAMBDA CALLS RECEIVER] with("A") <bold>{</bold>
LIB (INLINE CALL with) [LAMBDA CALLS RECEIVER] public inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
LIB (INLINE CALL with) return <bold>receiver</bold>.block()
LIB (INLINE CALL with) public inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
5 with(<bold>"A"</bold>) {
6 val <bold>v = this</bold> (in foo())
6 val v = <bold>this</bold> (in foo())
5 [LAMBDA CALLS RECEIVER] with("A") <bold>{</bold> (in foo())
LIB (INLINE CALL with) [LAMBDA CALLS RECEIVER] public inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
LIB (INLINE CALL with) return <bold>receiver</bold>.block() (in with(T, T.() -> R))
LIB (INLINE CALL with) public inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
5 with(<bold>"A"</bold>) { (in foo())
+4 -5
View File
@@ -1,8 +1,7 @@
3 FunParamererKt.foo(<bold>1</bold>);
5 fun foo(<bold>n: Int</bold>, s: String = "???") {
5 fun foo(<bold>n: Int</bold>, s: String = "???") { (in foo(Int, String = ...))
3 FunParamererKt.foo(<bold>1</bold>);
10 foo(<bold>1</bold>)
5 fun foo(<bold>n: Int</bold>, s: String = "???") {
10 foo(<bold>1</bold>)
10 foo(<bold>1</bold>) (in test())
5 fun foo(<bold>n: Int</bold>, s: String = "???") { (in foo(Int, String = ...))
10 foo(<bold>1</bold>) (in test())
@@ -1,4 +1,3 @@
[NotNull Values]
5 fun foo(<bold>n: Int</bold>, s: String = "???") {
5 fun foo(<bold>n: Int</bold>, s: String = "???") {
5 fun foo(<bold>n: Int</bold>, s: String = "???") { (in foo(Int, String = ...))
5 fun foo(<bold>n: Int</bold>, s: String = "???") { (in foo(Int, String = ...))
+6 -6
View File
@@ -1,8 +1,8 @@
5 fun foo(<bold>n: Int</bold>, s: String = "???") {
5 fun foo(<bold>n: Int</bold>, s: String = "???") { (in foo(Int, String = ...))
3 FunParamererKt.foo(<bold>1</bold>);
4 FunParamererKt.foo(<bold>1</bold>, "2");
10 foo(<bold>1</bold>)
11 foo(<bold>1</bold>, "2")
12 foo(<bold>1</bold>, s = "2")
13 foo(n = <bold>1</bold>, s = "2")
14 foo(s = "2", n = <bold>1</bold>)
10 foo(<bold>1</bold>) (in test())
11 foo(<bold>1</bold>, "2") (in test())
12 foo(<bold>1</bold>, s = "2") (in test())
13 foo(n = <bold>1</bold>, s = "2") (in test())
14 foo(s = "2", n = <bold>1</bold>) (in test())
@@ -1,12 +1,11 @@
4 FunParamererWithDefaultKt.foo(1, <bold>"2"</bold>);
5 fun foo(n: Int, <bold>s: String = "???"</bold>) {
5 fun foo(n: Int, <bold>s: String = "???"</bold>) { (in foo(Int, String = ...))
4 FunParamererWithDefaultKt.foo(1, <bold>"2"</bold>);
11 foo(1, <bold>"2"</bold>)
5 fun foo(n: Int, <bold>s: String = "???"</bold>) {
11 foo(1, <bold>"2"</bold>)
5 fun foo(n: Int, s: String = <bold>"???"</bold>) {
5 fun foo(n: Int, <bold>s: String = "???"</bold>) {
5 fun foo(n: Int, s: String = <bold>"???"</bold>) {
11 foo(1, <bold>"2"</bold>) (in test())
5 fun foo(n: Int, <bold>s: String = "???"</bold>) { (in foo(Int, String = ...))
11 foo(1, <bold>"2"</bold>) (in test())
5 fun foo(n: Int, s: String = <bold>"???"</bold>) { (in foo(Int, String = ...))
5 fun foo(n: Int, <bold>s: String = "???"</bold>) { (in foo(Int, String = ...))
5 fun foo(n: Int, s: String = <bold>"???"</bold>) { (in foo(Int, String = ...))
@@ -1,4 +1,3 @@
[NotNull Values]
5 fun foo(n: Int, <bold>s: String = "???"</bold>) {
5 fun foo(n: Int, <bold>s: String = "???"</bold>) {
5 fun foo(n: Int, <bold>s: String = "???"</bold>) { (in foo(Int, String = ...))
5 fun foo(n: Int, <bold>s: String = "???"</bold>) { (in foo(Int, String = ...))
@@ -1,7 +1,7 @@
5 fun foo(n: Int, <bold>s: String = "???"</bold>) {
5 fun foo(n: Int, s: String = <bold>"???"</bold>) {
5 fun foo(n: Int, <bold>s: String = "???"</bold>) { (in foo(Int, String = ...))
5 fun foo(n: Int, s: String = <bold>"???"</bold>) { (in foo(Int, String = ...))
4 FunParamererWithDefaultKt.foo(1, <bold>"2"</bold>);
11 foo(1, <bold>"2"</bold>)
12 foo(1, s = <bold>"2"</bold>)
13 foo(n = 1, s = <bold>"2"</bold>)
14 foo(s = <bold>"2"</bold>, n = 1)
11 foo(1, <bold>"2"</bold>) (in test())
12 foo(1, s = <bold>"2"</bold>) (in test())
13 foo(n = 1, s = <bold>"2"</bold>) (in test())
14 foo(s = <bold>"2"</bold>, n = 1) (in test())
@@ -1,12 +1,11 @@
8 fun bar(<bold>n: Int</bold>) = n
9 val <bold>x = foo(::bar)</bold>
9 val x = <bold>foo(::bar)</bold>
8 fun bar(<bold>n: Int</bold>) = n (in test())
9 val <bold>x = foo(::bar)</bold> (in test())
9 val x = <bold>foo(::bar)</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
9 [LAMBDA IN] val x = foo(<bold>::bar</bold>)
8 fun <bold>bar(n: Int) = n</bold>
8 fun bar(n: Int) = <bold>n</bold>
8 fun bar(<bold>n: Int</bold>) = n
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
9 [LAMBDA IN] val x = foo(<bold>::bar</bold>) (in test())
8 fun <bold>bar(n: Int) = n</bold> (in test())
8 fun bar(n: Int) = <bold>n</bold> (in test())
8 fun bar(<bold>n: Int</bold>) = n (in test())
@@ -1,3 +1,3 @@
[NotNull Values]
9 val <bold>x = foo(::bar)</bold>
9 val <bold>x = foo(::bar)</bold>
9 val <bold>x = foo(::bar)</bold> (in test())
9 val <bold>x = foo(::bar)</bold> (in test())
@@ -1,10 +1,10 @@
9 val <bold>x = foo(::bar)</bold>
9 val x = <bold>foo(::bar)</bold>
9 val <bold>x = foo(::bar)</bold> (in test())
9 val x = <bold>foo(::bar)</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
9 [LAMBDA IN] val x = foo(<bold>::bar</bold>)
8 fun <bold>bar(n: Int) = n</bold>
8 fun bar(n: Int) = <bold>n</bold>
8 fun bar(<bold>n: Int</bold>) = n
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
9 [LAMBDA IN] val x = foo(<bold>::bar</bold>) (in test())
8 fun <bold>bar(n: Int) = n</bold> (in test())
8 fun bar(n: Int) = <bold>n</bold> (in test())
8 fun bar(<bold>n: Int</bold>) = n (in test())
@@ -1,14 +1,13 @@
8 fun bar(<bold>n: Int</bold>) = n
10 val <bold>x = foo(f)</bold>
10 val x = <bold>foo(f)</bold>
8 fun bar(<bold>n: Int</bold>) = n (in test())
10 val <bold>x = foo(f)</bold> (in test())
10 val x = <bold>foo(f)</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
10 [LAMBDA IN] val x = foo(<bold>f</bold>)
9 [LAMBDA IN] val <bold>f = ::bar</bold>
9 [LAMBDA IN] val f = <bold>::bar</bold>
8 fun <bold>bar(n: Int) = n</bold>
8 fun bar(n: Int) = <bold>n</bold>
8 fun bar(<bold>n: Int</bold>) = n
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
10 [LAMBDA IN] val x = foo(<bold>f</bold>) (in test())
9 [LAMBDA IN] val <bold>f = ::bar</bold> (in test())
9 [LAMBDA IN] val f = <bold>::bar</bold> (in test())
8 fun <bold>bar(n: Int) = n</bold> (in test())
8 fun bar(n: Int) = <bold>n</bold> (in test())
8 fun bar(<bold>n: Int</bold>) = n (in test())
@@ -1,3 +1,3 @@
[NotNull Values]
10 val <bold>x = foo(f)</bold>
10 val <bold>x = foo(f)</bold>
10 val <bold>x = foo(f)</bold> (in test())
10 val <bold>x = foo(f)</bold> (in test())
@@ -1,12 +1,12 @@
10 val <bold>x = foo(f)</bold>
10 val x = <bold>foo(f)</bold>
10 val <bold>x = foo(f)</bold> (in test())
10 val x = <bold>foo(f)</bold> (in test())
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
10 [LAMBDA IN] val x = foo(<bold>f</bold>)
9 [LAMBDA IN] val <bold>f = ::bar</bold>
9 [LAMBDA IN] val f = <bold>::bar</bold>
8 fun <bold>bar(n: Int) = n</bold>
8 fun bar(n: Int) = <bold>n</bold>
8 fun bar(<bold>n: Int</bold>) = n
4 return <bold>f(1)</bold> (in foo((Int) -> Int))
4 [LAMBDA IN] return <bold>f</bold>(1) (in foo((Int) -> Int))
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
10 [LAMBDA IN] val x = foo(<bold>f</bold>) (in test())
9 [LAMBDA IN] val <bold>f = ::bar</bold> (in test())
9 [LAMBDA IN] val f = <bold>::bar</bold> (in test())
8 fun <bold>bar(n: Int) = n</bold> (in test())
8 fun bar(n: Int) = <bold>n</bold> (in test())
8 fun bar(<bold>n: Int</bold>) = n (in test())
@@ -1,9 +1,8 @@
5 val x = (::bar)(<bold>1</bold>)
5 val <bold>x = (::bar)(1)</bold>
5 val x = <bold>(::bar)(1)</bold>
5 [LAMBDA IN] val x = <bold>(::bar)</bold>(1)
4 fun <bold>bar(n: Int) = n</bold>
4 fun bar(n: Int) = <bold>n</bold>
4 fun bar(<bold>n: Int</bold>) = n
5 val x = (::bar)(<bold>1</bold>)
5 val x = (::bar)(<bold>1</bold>) (in test())
5 val <bold>x = (::bar)(1)</bold> (in test())
5 val x = <bold>(::bar)(1)</bold> (in test())
5 [LAMBDA IN] val x = <bold>(::bar)</bold>(1) (in test())
4 fun <bold>bar(n: Int) = n</bold> (in test())
4 fun bar(n: Int) = <bold>n</bold> (in test())
4 fun bar(<bold>n: Int</bold>) = n (in test())
5 val x = (::bar)(<bold>1</bold>) (in test())
@@ -1,3 +1,3 @@
[NotNull Values]
5 val <bold>x = (::bar)(1)</bold>
5 val <bold>x = (::bar)(1)</bold>
5 val <bold>x = (::bar)(1)</bold> (in test())
5 val <bold>x = (::bar)(1)</bold> (in test())
@@ -1,7 +1,7 @@
5 val <bold>x = (::bar)(1)</bold>
5 val x = <bold>(::bar)(1)</bold>
5 [LAMBDA IN] val x = <bold>(::bar)</bold>(1)
4 fun <bold>bar(n: Int) = n</bold>
4 fun bar(n: Int) = <bold>n</bold>
4 fun bar(<bold>n: Int</bold>) = n
5 val x = (::bar)(<bold>1</bold>)
5 val <bold>x = (::bar)(1)</bold> (in test())
5 val x = <bold>(::bar)(1)</bold> (in test())
5 [LAMBDA IN] val x = <bold>(::bar)</bold>(1) (in test())
4 fun <bold>bar(n: Int) = n</bold> (in test())
4 fun bar(n: Int) = <bold>n</bold> (in test())
4 fun bar(<bold>n: Int</bold>) = n (in test())
5 val x = (::bar)(<bold>1</bold>) (in test())
@@ -1,4 +1,3 @@
3 fun foo(n: Int) = <bold>n + 1</bold>
3 fun foo(n: Int) = <bold>n + 1</bold> (in foo(Int))
3 fun <bold>foo(n: Int) = n + 1</bold>
3 fun foo(n: Int) = <bold>n + 1</bold>
3 fun foo(n: Int) = <bold>n + 1</bold> (in foo(Int))
@@ -1,2 +1,2 @@
3 fun <bold>foo(n: Int) = n + 1</bold>
3 fun foo(n: Int) = <bold>n + 1</bold>
3 fun foo(n: Int) = <bold>n + 1</bold> (in foo(Int))
@@ -1,9 +1,8 @@
5 return <bold>-n</bold>
5 return <bold>-n</bold> (in foo(Int))
3 fun <bold>foo(n: Int): Int {</bold>
5 return <bold>-n</bold>
5 return <bold>-n</bold> (in foo(Int))
3 fun foo(<bold>n: Int</bold>): Int {
3 fun foo(<bold>n: Int</bold>): Int { (in foo(Int))
3 fun <bold>foo(n: Int): Int {</bold>
4 if (n > 0) return <bold>n</bold>
3 fun foo(<bold>n: Int</bold>): Int {
4 if (n > 0) return <bold>n</bold> (in foo(Int))
3 fun foo(<bold>n: Int</bold>): Int { (in foo(Int))
@@ -1,4 +1,4 @@
3 fun <bold>foo(n: Int): Int {</bold>
4 if (n > 0) return <bold>n</bold>
3 fun foo(<bold>n: Int</bold>): Int {
5 return <bold>-n</bold>
4 if (n > 0) return <bold>n</bold> (in foo(Int))
3 fun foo(<bold>n: Int</bold>): Int { (in foo(Int))
5 return <bold>-n</bold> (in foo(Int))
@@ -1,23 +1,22 @@
4 var foo: Int = <bold>-1</bold>
11 val x = <bold>foo</bold>
4 var <bold>foo: Int = -1</bold>
4 var foo: Int = <bold>-1</bold>
4 var foo: Int = <bold>-1</bold> (in A.foo: Int)
11 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = -1</bold> (in A)
4 var foo: Int = <bold>-1</bold> (in A.foo: Int)
7 field = if (b) value else <bold>0</bold>
11 val x = <bold>foo</bold>
4 var <bold>foo: Int = -1</bold>
5 get() = <bold>if (b) field else 0</bold>
5 get() = if (b) <bold>field</bold> else 0
7 field = <bold>if (b) value else 0</bold>
7 field = if (b) value else <bold>0</bold>
12 foo = <bold>1</bold>
11 val x = <bold>foo</bold>
4 var <bold>foo: Int = -1</bold>
5 get() = <bold>if (b) field else 0</bold>
5 get() = if (b) <bold>field</bold> else 0
7 field = <bold>if (b) value else 0</bold>
7 field = if (b) <bold>value</bold> else 0
6 set(<bold>value</bold>) {
12 foo = <bold>1</bold>
7 field = if (b) value else <bold>0</bold> (in A.foo: Int)
11 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = -1</bold> (in A)
5 get() = <bold>if (b) field else 0</bold> (in A.foo: Int)
5 get() = if (b) <bold>field</bold> else 0 (in A.foo: Int)
7 field = <bold>if (b) value else 0</bold> (in A.foo: Int)
7 field = if (b) value else <bold>0</bold> (in A.foo: Int)
12 foo = <bold>1</bold> (in A.test())
11 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = -1</bold> (in A)
5 get() = <bold>if (b) field else 0</bold> (in A.foo: Int)
5 get() = if (b) <bold>field</bold> else 0 (in A.foo: Int)
7 field = <bold>if (b) value else 0</bold> (in A.foo: Int)
7 field = if (b) <bold>value</bold> else 0 (in A.foo: Int)
6 set(<bold>value</bold>) { (in A.foo: Int)
12 foo = <bold>1</bold> (in A.test())
@@ -1,3 +1,3 @@
[NotNull Values]
11 val x = <bold>foo</bold>
11 val x = <bold>foo</bold>
11 val x = <bold>foo</bold> (in A.test())
11 val x = <bold>foo</bold> (in A.test())
@@ -1,11 +1,11 @@
11 val x = <bold>foo</bold>
4 var <bold>foo: Int = -1</bold>
4 var foo: Int = <bold>-1</bold>
5 get() = <bold>if (b) field else 0</bold>
5 get() = if (b) <bold>field</bold> else 0
7 field = <bold>if (b) value else 0</bold>
7 field = if (b) <bold>value</bold> else 0
6 set(<bold>value</bold>) {
12 foo = <bold>1</bold>
7 field = if (b) value else <bold>0</bold>
5 get() = if (b) field else <bold>0</bold>
11 val x = <bold>foo</bold> (in A.test())
4 var <bold>foo: Int = -1</bold> (in A)
4 var foo: Int = <bold>-1</bold> (in A.foo: Int)
5 get() = <bold>if (b) field else 0</bold> (in A.foo: Int)
5 get() = if (b) <bold>field</bold> else 0 (in A.foo: Int)
7 field = <bold>if (b) value else 0</bold> (in A.foo: Int)
7 field = if (b) <bold>value</bold> else 0 (in A.foo: Int)
6 set(<bold>value</bold>) { (in A.foo: Int)
12 foo = <bold>1</bold> (in A.test())
7 field = if (b) value else <bold>0</bold> (in A.foo: Int)
5 get() = if (b) field else <bold>0</bold> (in A.foo: Int)
@@ -1,6 +1,5 @@
4 get() = <bold>0</bold>
7 val <bold>x = foo</bold>
7 val x = <bold>foo</bold>
4 get() = <bold>0</bold> (in foo: Int)
7 val <bold>x = foo</bold> (in test())
7 val x = <bold>foo</bold> (in test())
3 val <bold>foo: Int</bold>
4 get() = <bold>0</bold>
4 get() = <bold>0</bold> (in foo: Int)
@@ -1,3 +1,3 @@
[NotNull Values]
7 val <bold>x = foo</bold>
7 val <bold>x = foo</bold>
7 val <bold>x = foo</bold> (in test())
7 val <bold>x = foo</bold> (in test())
@@ -1,4 +1,4 @@
7 val <bold>x = foo</bold>
7 val x = <bold>foo</bold>
7 val <bold>x = foo</bold> (in test())
7 val x = <bold>foo</bold> (in test())
3 val <bold>foo: Int</bold>
4 get() = <bold>0</bold>
4 get() = <bold>0</bold> (in foo: Int)
@@ -1,6 +1,5 @@
5 return <bold>0</bold>
9 val <bold>x = foo</bold>
9 val x = <bold>foo</bold>
5 return <bold>0</bold> (in foo: Int)
9 val <bold>x = foo</bold> (in test())
9 val x = <bold>foo</bold> (in test())
3 val <bold>foo: Int</bold>
5 return <bold>0</bold>
5 return <bold>0</bold> (in foo: Int)
@@ -1,3 +1,3 @@
[NotNull Values]
9 val <bold>x = foo</bold>
9 val <bold>x = foo</bold>
9 val <bold>x = foo</bold> (in test())
9 val <bold>x = foo</bold> (in test())
@@ -1,4 +1,4 @@
9 val <bold>x = foo</bold>
9 val x = <bold>foo</bold>
9 val <bold>x = foo</bold> (in test())
9 val x = <bold>foo</bold> (in test())
3 val <bold>foo: Int</bold>
5 return <bold>0</bold>
5 return <bold>0</bold> (in foo: Int)
+9 -10
View File
@@ -1,11 +1,10 @@
3 fun test(m: Int, <bold>n: Int</bold>) {
4 val <bold>x = if (m > 1) n else 1</bold>
4 val x = <bold>if (m > 1) n else 1</bold>
4 val x = if (m > 1) <bold>n</bold> else 1
3 fun test(m: Int, <bold>n: Int</bold>) {
4 val x = if (m > 1) n else <bold>1</bold>
4 val <bold>x = if (m > 1) n else 1</bold>
4 val x = <bold>if (m > 1) n else 1</bold>
4 val x = if (m > 1) n else <bold>1</bold>
3 fun test(m: Int, <bold>n: Int</bold>) { (in test(Int, Int))
4 val <bold>x = if (m > 1) n else 1</bold> (in test(Int, Int))
4 val x = <bold>if (m > 1) n else 1</bold> (in test(Int, Int))
4 val x = if (m > 1) <bold>n</bold> else 1 (in test(Int, Int))
3 fun test(m: Int, <bold>n: Int</bold>) { (in test(Int, Int))
4 val x = if (m > 1) n else <bold>1</bold> (in test(Int, Int))
4 val <bold>x = if (m > 1) n else 1</bold> (in test(Int, Int))
4 val x = <bold>if (m > 1) n else 1</bold> (in test(Int, Int))
4 val x = if (m > 1) n else <bold>1</bold> (in test(Int, Int))
@@ -1,3 +1,3 @@
[NotNull Values]
4 val <bold>x = if (m > 1) n else 1</bold>
4 val <bold>x = if (m > 1) n else 1</bold>
4 val <bold>x = if (m > 1) n else 1</bold> (in test(Int, Int))
4 val <bold>x = if (m > 1) n else 1</bold> (in test(Int, Int))
+5 -5
View File
@@ -1,5 +1,5 @@
4 val <bold>x = if (m > 1) n else 1</bold>
4 val x = <bold>if (m > 1) n else 1</bold>
4 val x = if (m > 1) <bold>n</bold> else 1
3 fun test(m: Int, <bold>n: Int</bold>) {
4 val x = if (m > 1) n else <bold>1</bold>
4 val <bold>x = if (m > 1) n else 1</bold> (in test(Int, Int))
4 val x = <bold>if (m > 1) n else 1</bold> (in test(Int, Int))
4 val x = if (m > 1) <bold>n</bold> else 1 (in test(Int, Int))
3 fun test(m: Int, <bold>n: Int</bold>) { (in test(Int, Int))
4 val x = if (m > 1) n else <bold>1</bold> (in test(Int, Int))
@@ -1,8 +1,7 @@
4 class <bold>C</bold>
12 fun <bold>C</bold>.extensionFun() {}
7 [LAMBDA CALLS RECEIVER] val c = C().apply <bold>{</bold>
LIB (INLINE CALL apply) [LAMBDA CALLS RECEIVER] public inline fun <T> T.apply(<bold>block: T.() -> Unit</bold>): T {
LIB (INLINE CALL apply) public inline fun <T> <bold>T</bold>.apply(block: T.() -> Unit): T {
7 val c = <bold>C()</bold>.apply {
12 fun <bold>C</bold>.extensionFun() {} (in extensionFun() on C)
7 [LAMBDA CALLS RECEIVER] val c = C().apply <bold>{</bold> (in foo())
LIB (INLINE CALL apply) [LAMBDA CALLS RECEIVER] public inline fun <T> T.apply(<bold>block: T.() -> Unit</bold>): T { (in apply(T.() -> Unit) on T)
LIB (INLINE CALL apply) public inline fun <T> <bold>T</bold>.apply(block: T.() -> Unit): T { (in apply(T.() -> Unit) on T)
7 val c = <bold>C()</bold>.apply { (in foo())
4 class <bold>C</bold>
@@ -1,8 +1,7 @@
[NotNull Values]
7 val c = <bold>C()</bold>.apply {
12 fun <bold>C</bold>.extensionFun() {}
7 [LAMBDA CALLS RECEIVER] val c = C().apply <bold>{</bold>
LIB (INLINE CALL apply) [LAMBDA CALLS RECEIVER] public inline fun <T> T.apply(<bold>block: T.() -> Unit</bold>): T {
LIB (INLINE CALL apply) public inline fun <T> <bold>T</bold>.apply(block: T.() -> Unit): T {
7 val c = <bold>C()</bold>.apply {
7 val c = <bold>C()</bold>.apply { (in foo())
12 fun <bold>C</bold>.extensionFun() {} (in extensionFun() on C)
7 [LAMBDA CALLS RECEIVER] val c = C().apply <bold>{</bold> (in foo())
LIB (INLINE CALL apply) [LAMBDA CALLS RECEIVER] public inline fun <T> T.apply(<bold>block: T.() -> Unit</bold>): T { (in apply(T.() -> Unit) on T)
LIB (INLINE CALL apply) public inline fun <T> <bold>T</bold>.apply(block: T.() -> Unit): T { (in apply(T.() -> Unit) on T)
7 val c = <bold>C()</bold>.apply { (in foo())
@@ -1,6 +1,6 @@
12 fun <bold>C</bold>.extensionFun() {}
7 [LAMBDA CALLS RECEIVER] val c = C().apply <bold>{</bold>
LIB (INLINE CALL apply) [LAMBDA CALLS RECEIVER] public inline fun <T> T.apply(<bold>block: T.() -> Unit</bold>): T {
LIB (INLINE CALL apply) public inline fun <T> <bold>T</bold>.apply(block: T.() -> Unit): T {
7 val c = <bold>C()</bold>.apply {
12 fun <bold>C</bold>.extensionFun() {} (in extensionFun() on C)
7 [LAMBDA CALLS RECEIVER] val c = C().apply <bold>{</bold> (in foo())
LIB (INLINE CALL apply) [LAMBDA CALLS RECEIVER] public inline fun <T> T.apply(<bold>block: T.() -> Unit</bold>): T { (in apply(T.() -> Unit) on T)
LIB (INLINE CALL apply) public inline fun <T> <bold>T</bold>.apply(block: T.() -> Unit): T { (in apply(T.() -> Unit) on T)
7 val c = <bold>C()</bold>.apply { (in foo())
4 class <bold>C</bold>
@@ -1,60 +1,59 @@
36 <bold>"D"</bold>.letNoInline {
4 fun <bold>Any</bold>.extensionFun() {
37 <bold>it</bold>.extensionFun()
36 [LAMBDA CALLS ARGUMENT #0] "D".letNoInline <bold>{</bold>
55 [LAMBDA CALLS ARGUMENT #0] fun <T, R> T.letNoInline(<bold>block: (T) -> R</bold>): R {
56 return block(<bold>this</bold>)
55 fun <T, R> <bold>T</bold>.letNoInline(block: (T) -> R): R {
36 <bold>"D"</bold>.letNoInline {
36 <bold>"D"</bold>.letNoInline { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
37 <bold>it</bold>.extensionFun() (in foo() on String)
36 [LAMBDA CALLS ARGUMENT #0] "D".letNoInline <bold>{</bold> (in foo() on String)
55 [LAMBDA CALLS ARGUMENT #0] fun <T, R> T.letNoInline(<bold>block: (T) -> R</bold>): R { (in letNoInline((T) -> R) on T)
56 return block(<bold>this</bold>) (in letNoInline((T) -> R) on T)
55 fun <T, R> <bold>T</bold>.letNoInline(block: (T) -> R): R { (in letNoInline((T) -> R) on T)
36 <bold>"D"</bold>.letNoInline { (in foo() on String)
40 <bold>"C"</bold>.letNoInline {
4 fun <bold>Any</bold>.extensionFun() {
37 <bold>it</bold>.extensionFun()
36 [LAMBDA CALLS ARGUMENT #0] "D".letNoInline <bold>{</bold>
55 [LAMBDA CALLS ARGUMENT #0] fun <T, R> T.letNoInline(<bold>block: (T) -> R</bold>): R {
56 return block(<bold>this</bold>)
55 fun <T, R> <bold>T</bold>.letNoInline(block: (T) -> R): R {
40 <bold>"C"</bold>.letNoInline {
40 <bold>"C"</bold>.letNoInline { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
37 <bold>it</bold>.extensionFun() (in foo() on String)
36 [LAMBDA CALLS ARGUMENT #0] "D".letNoInline <bold>{</bold> (in foo() on String)
55 [LAMBDA CALLS ARGUMENT #0] fun <T, R> T.letNoInline(<bold>block: (T) -> R</bold>): R { (in letNoInline((T) -> R) on T)
56 return block(<bold>this</bold>) (in letNoInline((T) -> R) on T)
55 fun <T, R> <bold>T</bold>.letNoInline(block: (T) -> R): R { (in letNoInline((T) -> R) on T)
40 <bold>"C"</bold>.letNoInline { (in foo() on String)
28 <bold>"A"</bold>.let {
4 fun <bold>Any</bold>.extensionFun() {
29 <bold>it</bold>.extensionFun()
28 [LAMBDA CALLS ARGUMENT #0] "A".let <bold>{</bold>
LIB (INLINE CALL let) [LAMBDA CALLS ARGUMENT #0] public inline fun <T, R> T.let(<bold>block: (T) -> R</bold>): R {
LIB (INLINE CALL let) return block(<bold>this</bold>)
LIB (INLINE CALL let) public inline fun <T, R> <bold>T</bold>.let(block: (T) -> R): R {
28 <bold>"A"</bold>.let {
28 <bold>"A"</bold>.let { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
29 <bold>it</bold>.extensionFun() (in foo() on String)
28 [LAMBDA CALLS ARGUMENT #0] "A".let <bold>{</bold> (in foo() on String)
LIB (INLINE CALL let) [LAMBDA CALLS ARGUMENT #0] public inline fun <T, R> T.let(<bold>block: (T) -> R</bold>): R { (in let((T) -> R) on T)
LIB (INLINE CALL let) return block(<bold>this</bold>) (in let((T) -> R) on T)
LIB (INLINE CALL let) public inline fun <T, R> <bold>T</bold>.let(block: (T) -> R): R { (in let((T) -> R) on T)
28 <bold>"A"</bold>.let { (in foo() on String)
20 withNoInline(<bold>1</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold>
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R {
51 val result = <bold>receiver</bold>.block()
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R {
20 withNoInline(<bold>1</bold>) {
20 withNoInline(<bold>1</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold> (in foo() on String)
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R { (in withNoInline(T, T.() -> R))
51 val result = <bold>receiver</bold>.block() (in withNoInline(T, T.() -> R))
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R { (in withNoInline(T, T.() -> R))
20 withNoInline(<bold>1</bold>) { (in foo() on String)
8 with(<bold>123</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
8 [LAMBDA CALLS RECEIVER] with(123) <bold>{</bold>
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
46 (INLINE CALL with) val result = <bold>receiver</bold>.block()
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
8 with(<bold>123</bold>) {
8 with(<bold>123</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
8 [LAMBDA CALLS RECEIVER] with(123) <bold>{</bold> (in foo() on String)
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
46 (INLINE CALL with) val result = <bold>receiver</bold>.block() (in with(T, T.() -> R))
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
8 with(<bold>123</bold>) { (in foo() on String)
24 withNoInline(<bold>2</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold>
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R {
51 val result = <bold>receiver</bold>.block()
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R {
24 withNoInline(<bold>2</bold>) {
12 with(<bold>456</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
13 <bold>this</bold>.extensionFun()
12 [LAMBDA CALLS RECEIVER] with(456) <bold>{</bold>
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
46 (INLINE CALL with) val result = <bold>receiver</bold>.block()
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
12 with(<bold>456</bold>) {
24 withNoInline(<bold>2</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold> (in foo() on String)
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R { (in withNoInline(T, T.() -> R))
51 val result = <bold>receiver</bold>.block() (in withNoInline(T, T.() -> R))
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R { (in withNoInline(T, T.() -> R))
24 withNoInline(<bold>2</bold>) { (in foo() on String)
12 with(<bold>456</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
13 <bold>this</bold>.extensionFun() (in foo() on String)
12 [LAMBDA CALLS RECEIVER] with(456) <bold>{</bold> (in foo() on String)
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
46 (INLINE CALL with) val result = <bold>receiver</bold>.block() (in with(T, T.() -> R))
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
12 with(<bold>456</bold>) { (in foo() on String)
@@ -1,30 +1,29 @@
[NotNull Values]
8 with(<bold>123</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
8 [LAMBDA CALLS RECEIVER] with(123) <bold>{</bold>
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
46 (INLINE CALL with) val result = <bold>receiver</bold>.block()
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
8 with(<bold>123</bold>) {
13 <bold>this</bold>.extensionFun()
4 fun <bold>Any</bold>.extensionFun() {
13 <bold>this</bold>.extensionFun()
20 withNoInline(<bold>1</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold>
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R {
51 val result = <bold>receiver</bold>.block()
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R {
20 withNoInline(<bold>1</bold>) {
24 withNoInline(<bold>2</bold>) {
4 fun <bold>Any</bold>.extensionFun() {
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold>
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R {
51 val result = <bold>receiver</bold>.block()
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R {
24 withNoInline(<bold>2</bold>) {
29 <bold>it</bold>.extensionFun()
4 fun <bold>Any</bold>.extensionFun() {
29 <bold>it</bold>.extensionFun()
37 <bold>it</bold>.extensionFun()
8 with(<bold>123</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
8 [LAMBDA CALLS RECEIVER] with(123) <bold>{</bold> (in foo() on String)
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
46 (INLINE CALL with) val result = <bold>receiver</bold>.block() (in with(T, T.() -> R))
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
8 with(<bold>123</bold>) { (in foo() on String)
13 <bold>this</bold>.extensionFun() (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
13 <bold>this</bold>.extensionFun() (in foo() on String)
20 withNoInline(<bold>1</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold> (in foo() on String)
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R { (in withNoInline(T, T.() -> R))
51 val result = <bold>receiver</bold>.block() (in withNoInline(T, T.() -> R))
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R { (in withNoInline(T, T.() -> R))
20 withNoInline(<bold>1</bold>) { (in foo() on String)
24 withNoInline(<bold>2</bold>) { (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold> (in foo() on String)
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R { (in withNoInline(T, T.() -> R))
51 val result = <bold>receiver</bold>.block() (in withNoInline(T, T.() -> R))
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R { (in withNoInline(T, T.() -> R))
24 withNoInline(<bold>2</bold>) { (in foo() on String)
29 <bold>it</bold>.extensionFun() (in foo() on String)
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
29 <bold>it</bold>.extensionFun() (in foo() on String)
37 <bold>it</bold>.extensionFun() (in foo() on String)
@@ -1,31 +1,31 @@
4 fun <bold>Any</bold>.extensionFun() {
8 [LAMBDA CALLS RECEIVER] with(123) <bold>{</bold>
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
46 (INLINE CALL with) val result = <bold>receiver</bold>.block()
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
8 with(<bold>123</bold>) {
13 <bold>this</bold>.extensionFun()
12 [LAMBDA CALLS RECEIVER] with(456) <bold>{</bold>
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R {
46 (INLINE CALL with) val result = <bold>receiver</bold>.block()
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R {
12 with(<bold>456</bold>) {
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold>
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R {
51 val result = <bold>receiver</bold>.block()
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R {
20 withNoInline(<bold>1</bold>) {
24 withNoInline(<bold>2</bold>) {
29 <bold>it</bold>.extensionFun()
28 [LAMBDA CALLS ARGUMENT #0] "A".let <bold>{</bold>
LIB (INLINE CALL let) [LAMBDA CALLS ARGUMENT #0] public inline fun <T, R> T.let(<bold>block: (T) -> R</bold>): R {
LIB (INLINE CALL let) return block(<bold>this</bold>)
LIB (INLINE CALL let) public inline fun <T, R> <bold>T</bold>.let(block: (T) -> R): R {
28 <bold>"A"</bold>.let {
37 <bold>it</bold>.extensionFun()
36 [LAMBDA CALLS ARGUMENT #0] "D".letNoInline <bold>{</bold>
55 [LAMBDA CALLS ARGUMENT #0] fun <T, R> T.letNoInline(<bold>block: (T) -> R</bold>): R {
56 return block(<bold>this</bold>)
55 fun <T, R> <bold>T</bold>.letNoInline(block: (T) -> R): R {
36 <bold>"D"</bold>.letNoInline {
40 <bold>"C"</bold>.letNoInline {
4 fun <bold>Any</bold>.extensionFun() { (in extensionFun() on Any)
8 [LAMBDA CALLS RECEIVER] with(123) <bold>{</bold> (in foo() on String)
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
46 (INLINE CALL with) val result = <bold>receiver</bold>.block() (in with(T, T.() -> R))
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
8 with(<bold>123</bold>) { (in foo() on String)
13 <bold>this</bold>.extensionFun() (in foo() on String)
12 [LAMBDA CALLS RECEIVER] with(456) <bold>{</bold> (in foo() on String)
45 (INLINE CALL with) [LAMBDA CALLS RECEIVER] inline fun <T, R> with(receiver: T, <bold>block: T.() -> R</bold>): R { (in with(T, T.() -> R))
46 (INLINE CALL with) val result = <bold>receiver</bold>.block() (in with(T, T.() -> R))
45 (INLINE CALL with) inline fun <T, R> with(<bold>receiver: T</bold>, block: T.() -> R): R { (in with(T, T.() -> R))
12 with(<bold>456</bold>) { (in foo() on String)
20 [LAMBDA CALLS RECEIVER] withNoInline(1) <bold>{</bold> (in foo() on String)
50 [LAMBDA CALLS RECEIVER] fun <T, R> withNoInline(receiver: T, <bold>block: T.() -> R</bold>): R { (in withNoInline(T, T.() -> R))
51 val result = <bold>receiver</bold>.block() (in withNoInline(T, T.() -> R))
50 fun <T, R> withNoInline(<bold>receiver: T</bold>, block: T.() -> R): R { (in withNoInline(T, T.() -> R))
20 withNoInline(<bold>1</bold>) { (in foo() on String)
24 withNoInline(<bold>2</bold>) { (in foo() on String)
29 <bold>it</bold>.extensionFun() (in foo() on String)
28 [LAMBDA CALLS ARGUMENT #0] "A".let <bold>{</bold> (in foo() on String)
LIB (INLINE CALL let) [LAMBDA CALLS ARGUMENT #0] public inline fun <T, R> T.let(<bold>block: (T) -> R</bold>): R { (in let((T) -> R) on T)
LIB (INLINE CALL let) return block(<bold>this</bold>) (in let((T) -> R) on T)
LIB (INLINE CALL let) public inline fun <T, R> <bold>T</bold>.let(block: (T) -> R): R { (in let((T) -> R) on T)
28 <bold>"A"</bold>.let { (in foo() on String)
37 <bold>it</bold>.extensionFun() (in foo() on String)
36 [LAMBDA CALLS ARGUMENT #0] "D".letNoInline <bold>{</bold> (in foo() on String)
55 [LAMBDA CALLS ARGUMENT #0] fun <T, R> T.letNoInline(<bold>block: (T) -> R</bold>): R { (in letNoInline((T) -> R) on T)
56 return block(<bold>this</bold>) (in letNoInline((T) -> R) on T)
55 fun <T, R> <bold>T</bold>.letNoInline(block: (T) -> R): R { (in letNoInline((T) -> R) on T)
36 <bold>"D"</bold>.letNoInline { (in foo() on String)
40 <bold>"C"</bold>.letNoInline { (in foo() on String)
@@ -1,6 +1,5 @@
4 f(<bold>1</bold>)
9 val v = <bold>it</bold>
8 [LAMBDA CALLS ARGUMENT #0] foo <bold>{</bold>
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) {
4 f(<bold>1</bold>)
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
9 val v = <bold>it</bold> (in test())
8 [LAMBDA CALLS ARGUMENT #0] foo <bold>{</bold> (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) { (in foo((Int) -> Unit))
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
@@ -1,4 +1,3 @@
[NotNull Values]
9 val v = <bold>it</bold>
9 val v = <bold>it</bold>
9 val v = <bold>it</bold> (in test())
9 val v = <bold>it</bold> (in test())
@@ -1,4 +1,4 @@
9 val v = <bold>it</bold>
8 [LAMBDA CALLS ARGUMENT #0] foo <bold>{</bold>
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) {
4 f(<bold>1</bold>)
9 val v = <bold>it</bold> (in test())
8 [LAMBDA CALLS ARGUMENT #0] foo <bold>{</bold> (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) { (in foo((Int) -> Unit))
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
+6 -7
View File
@@ -1,7 +1,6 @@
4 f(<bold>1</bold>)
9 val v = <bold>value</bold>
8 foo { <bold>value</bold> ->
8 [LAMBDA CALLS ARGUMENT #0] foo <bold>{ value -></bold>
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) {
4 f(<bold>1</bold>)
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
9 val v = <bold>value</bold> (in test())
8 foo { <bold>value</bold> -> (in test())
8 [LAMBDA CALLS ARGUMENT #0] foo <bold>{ value -></bold> (in test())
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Unit</bold>) { (in foo((Int) -> Unit))
4 f(<bold>1</bold>) (in foo((Int) -> Unit))
@@ -1,4 +1,3 @@
[NotNull Values]
9 val v = <bold>value</bold>
9 val v = <bold>value</bold>
9 val v = <bold>value</bold> (in test())
9 val v = <bold>value</bold> (in test())

Some files were not shown because too many files have changed in this diff Show More