Container presentation in slicer tree: no type for properties and show accessor

This commit is contained in:
Valentin Kipyatkov
2020-04-14 17:49:35 +03:00
parent 2ee776a0d8
commit 03126ba469
59 changed files with 156 additions and 127 deletions
@@ -1,4 +1,4 @@
4 get() = <bold>0</bold> (in foo: Int)
4 <bold>get() = 0</bold> (in foo: Int)
4 get() = <bold>0</bold> (in foo.get)
4 <bold>get() = 0</bold> (in foo)
7 val x = <bold>foo</bold> (in test())
7 val <bold>x = foo</bold> (in test())
@@ -1,4 +1,4 @@
5 return <bold>0</bold> (in foo: Int)
4 <bold>get(): Int {</bold> (in foo: Int)
5 return <bold>0</bold> (in foo.get)
4 <bold>get(): Int {</bold> (in foo)
9 val x = <bold>foo</bold> (in test())
9 val <bold>x = foo</bold> (in test())
@@ -1,6 +1,6 @@
4 val <bold>x = 1</bold> (in A)
3 int x = new A().<bold>getX</bold>();
6 val y = <bold>x</bold> (in A.y: Int)
6 val y = <bold>x</bold> (in A.y)
6 val <bold>y = x</bold> (in A)
11 z = <bold>x</bold> (in A)
8 val <bold>z: Int</bold> (in A)
@@ -1,4 +1,4 @@
10 override val foo = <bold>3</bold> (in C.foo: Int)
10 override val foo = <bold>3</bold> (in C.foo)
10 override val <bold>foo = 3</bold> (in C)
14 val x = a.<bold>foo</bold> (in test(A, B,…))
14 val <bold>x = a.foo</bold> (in test(A, B,…))
@@ -1,5 +1,5 @@
10 get() = <bold>2</bold> (in B.foo: Int)
10 <bold>get() = 2</bold> (in B.foo: Int)
10 get() = <bold>2</bold> (in B.foo.get)
10 <bold>get() = 2</bold> (in B.foo)
19 val x = a.<bold>foo</bold> (in test(A, B,…))
19 val <bold>x = a.foo</bold> (in test(A, B,…))
20 val y = b.<bold>foo</bold> (in test(A, B,…))
@@ -1,4 +1,4 @@
8 override val foo = <bold>2</bold> (in B.foo: Int)
8 override val foo = <bold>2</bold> (in B.foo)
8 override val <bold>foo = 2</bold> (in B)
16 val x = a.<bold>foo</bold> (in test(A, B,…))
16 val <bold>x = a.foo</bold> (in test(A, B,…))
@@ -1,5 +1,5 @@
3 class A(<bold>n: Int</bold>) { (in A(Int))
4 val x = <bold>n</bold> (in A.x: Int)
4 val x = <bold>n</bold> (in A.x)
4 val <bold>x = n</bold> (in A)
9 y = <bold>n</bold> (in A)
6 val <bold>y: Int</bold> (in A)
@@ -4,7 +4,7 @@
17 <bold>x</bold>.fooExt() (in test())
9 fun <bold>A</bold>.fooExt() = 1 (in fooExt() on A)
18 <bold>x</bold>.barExt (in test())
10 val <bold>A</bold>.barExt: Int get() = 2 (in barExt: Int on A)
10 val <bold>A</bold>.barExt: Int get() = 2 (in barExt on A)
20 val y: A? = <bold>x</bold> (in test())
20 val <bold>y: A? = x</bold> (in test())
22 DEREFERENCE: <bold>y</bold>?.foo() (in test())
@@ -12,4 +12,4 @@
24 <bold>y</bold>?.fooExt() (in test())
9 DUPLICATE: fun <bold>A</bold>.fooExt() = 1 (in fooExt() on A)
25 <bold>y</bold>?.barExt (in test())
10 DUPLICATE: val <bold>A</bold>.barExt: Int get() = 2 (in barExt: Int on A)
10 DUPLICATE: val <bold>A</bold>.barExt: Int get() = 2 (in barExt on A)
@@ -1,6 +1,6 @@
7 val x = <bold>""</bold>.extensionProp (in foo())
3 val <bold>String</bold>.extensionProp: Any (in extensionProp: Any on String)
4 get() = <bold>this</bold> (in extensionProp: Any on String)
4 <bold>get() = this</bold> (in extensionProp: Any on String)
3 val <bold>String</bold>.extensionProp: Any (in extensionProp on String)
4 get() = <bold>this</bold> (in extensionProp.get on String)
4 <bold>get() = this</bold> (in extensionProp on String)
7 val x = "".<bold>extensionProp</bold> (in foo())
7 val <bold>x = "".extensionProp</bold> (in foo())
@@ -1,6 +1,6 @@
4 val <bold>x = 1</bold>
3 int x = TopLevelPropertyUsagesKt.<bold>getX</bold>();
6 val y = <bold>x</bold> (in y: Int)
6 val y = <bold>x</bold> (in y)
6 val <bold>y = x</bold>
9 val y = <bold>x</bold> (in test())
9 val <bold>y = x</bold> (in test())
+1 -1
View File
@@ -1,6 +1,6 @@
3 class A(val <bold>n: Int</bold>) { (in A)
3 int n = new A(1).<bold>getN</bold>();
4 val x = <bold>n</bold> (in A.x: Int)
4 val x = <bold>n</bold> (in A.x)
4 val <bold>x = n</bold> (in A)
9 y = <bold>n</bold> (in A)
6 val <bold>y: Int</bold> (in A)
+1 -1
View File
@@ -1,6 +1,6 @@
3 class A(var <bold>n: Int</bold>) { (in A)
3 int n = new A(1).<bold>getN</bold>();
4 val x = <bold>n</bold> (in A.x: Int)
4 val x = <bold>n</bold> (in A.x)
4 val <bold>x = n</bold> (in A)
9 y = <bold>n</bold> (in A)
6 val <bold>y: Int</bold> (in A)