Add symbols to references
TODO: fix some more tests
This commit is contained in:
@@ -10,6 +10,7 @@ FILE /class.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS Test
|
||||
$new: VALUE_PARAMETER <receiver: Test>
|
||||
TYPE_PARAMETER <T0>
|
||||
CONSTRUCTOR public constructor Test<T0>()
|
||||
TYPE_PARAMETER <T0>
|
||||
@@ -17,6 +18,7 @@ FILE /class.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
CLASS CLASS TestNested
|
||||
$new: VALUE_PARAMETER <receiver: TestNested>
|
||||
TYPE_PARAMETER <T1>
|
||||
CONSTRUCTOR public constructor TestNested<T1>()
|
||||
TYPE_PARAMETER <T1>
|
||||
@@ -27,10 +29,11 @@ FILE /class.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS TestInner
|
||||
$new: VALUE_PARAMETER <receiver: TestInner>
|
||||
TYPE_PARAMETER <T2>
|
||||
CONSTRUCTOR public constructor TestInner<T2>()
|
||||
TYPE_PARAMETER <T2>
|
||||
$this: VALUE_PARAMETER <receiver: Test>
|
||||
$outer: VALUE_PARAMETER <receiver: Test>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInner'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /constructor.kt
|
||||
CLASS CLASS Test1
|
||||
$new: VALUE_PARAMETER <receiver: Test1>
|
||||
TYPE_PARAMETER <T1>
|
||||
TYPE_PARAMETER <T2>
|
||||
CONSTRUCTOR public constructor Test1<T1, T2>(x: T1, y: T2)
|
||||
@@ -34,6 +35,7 @@ FILE /constructor.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS Test2
|
||||
$new: VALUE_PARAMETER <receiver: Test2>
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.String)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.String
|
||||
@@ -51,10 +53,11 @@ FILE /constructor.kt
|
||||
GET_FIELD 'y: String' type=kotlin.String origin=null
|
||||
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
|
||||
CLASS CLASS TestInner
|
||||
$new: VALUE_PARAMETER <receiver: TestInner>
|
||||
TYPE_PARAMETER <Z>
|
||||
CONSTRUCTOR public constructor TestInner<Z>(z: Z)
|
||||
TYPE_PARAMETER <Z>
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
$outer: VALUE_PARAMETER <receiver: Test2>
|
||||
VALUE_PARAMETER value-parameter z: Z
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -71,7 +74,7 @@ FILE /constructor.kt
|
||||
receiver: GET_VAR '<receiver: TestInner>' type=Test2.TestInner<Z> origin=null
|
||||
CONSTRUCTOR public constructor TestInner<Z>(z: Z, i: kotlin.Int)
|
||||
TYPE_PARAMETER <Z>
|
||||
$this: VALUE_PARAMETER <receiver: Test2>
|
||||
$outer: VALUE_PARAMETER <receiver: Test2>
|
||||
VALUE_PARAMETER value-parameter z: Z
|
||||
VALUE_PARAMETER value-parameter i: kotlin.Int
|
||||
BLOCK_BODY
|
||||
@@ -86,6 +89,7 @@ FILE /constructor.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS Test3
|
||||
$new: VALUE_PARAMETER <receiver: Test3>
|
||||
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.String = ...)
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter y: kotlin.String = ...
|
||||
@@ -118,6 +122,7 @@ FILE /constructor.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS Test4
|
||||
$new: VALUE_PARAMETER <receiver: Test4>
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor Test4<T>(x: kotlin.Int)
|
||||
TYPE_PARAMETER <T>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FILE /dataClassMembers.kt
|
||||
CLASS CLASS Test
|
||||
$new: VALUE_PARAMETER <receiver: Test>
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor Test<T>(x: T, y: kotlin.String = ...)
|
||||
TYPE_PARAMETER <T>
|
||||
|
||||
+2
@@ -21,6 +21,7 @@ FILE /defaultPropertyAccessors.kt
|
||||
SET_FIELD 'test2: Int' type=kotlin.Unit origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
CLASS CLASS Host
|
||||
$new: VALUE_PARAMETER <receiver: Host>
|
||||
CONSTRUCTOR public constructor Host()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -56,6 +57,7 @@ FILE /defaultPropertyAccessors.kt
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
CLASS CLASS InPrimaryCtor
|
||||
$new: VALUE_PARAMETER <receiver: InPrimaryCtor>
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor InPrimaryCtor<T>(testInPrimaryCtor1: T, testInPrimaryCtor2: kotlin.Int = ...)
|
||||
TYPE_PARAMETER <T>
|
||||
|
||||
@@ -21,6 +21,7 @@ FILE /fun.kt
|
||||
VALUE_PARAMETER value-parameter j: kotlin.String
|
||||
BLOCK_BODY
|
||||
CLASS CLASS Host
|
||||
$new: VALUE_PARAMETER <receiver: Host>
|
||||
CONSTRUCTOR public constructor Host()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
|
||||
@@ -8,7 +8,7 @@ FILE /lambdas.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(String): String'
|
||||
GET_VAR 'value-parameter it: String' type=kotlin.String origin=null
|
||||
CALLABLE_REFERENCE '<anonymous>(String): String' type=(kotlin.String) -> kotlin.String origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(String): String' type=(kotlin.String) -> kotlin.String origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): (kotlin.String) -> kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): (String) -> String'
|
||||
@@ -24,7 +24,7 @@ FILE /lambdas.kt
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(Any) on Any: Int'
|
||||
CALL 'hashCode(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR 'value-parameter it: Any' type=kotlin.Any origin=null
|
||||
CALLABLE_REFERENCE '<anonymous>(Any) on Any: Int' type=kotlin.Any.(kotlin.Any) -> kotlin.Int origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(Any) on Any: Int' type=kotlin.Any.(kotlin.Any) -> kotlin.Int origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.Any.(kotlin.Any) -> kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Any.(Any) -> Any'
|
||||
@@ -39,7 +39,7 @@ FILE /lambdas.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(Int, Int): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
CALLABLE_REFERENCE '<anonymous>(Int, Int): Unit' type=(kotlin.Int, kotlin.Int) -> kotlin.Unit origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(Int, Int): Unit' type=(kotlin.Int, kotlin.Int) -> kotlin.Unit origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): (kotlin.Int, kotlin.Int) -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): (Int, Int) -> Unit'
|
||||
@@ -52,7 +52,7 @@ FILE /lambdas.kt
|
||||
VALUE_PARAMETER value-parameter i: kotlin.Int
|
||||
VALUE_PARAMETER value-parameter j: kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALLABLE_REFERENCE '<no name provided>(Int, Int): Unit' type=(kotlin.Int, kotlin.Int) -> kotlin.Unit origin=ANONYMOUS_FUNCTION
|
||||
FUNCTION_REFERENCE '<no name provided>(Int, Int): Unit' type=(kotlin.Int, kotlin.Int) -> kotlin.Unit origin=ANONYMOUS_FUNCTION
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): (kotlin.Int, kotlin.Int) -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): (Int, Int) -> Unit'
|
||||
|
||||
@@ -45,6 +45,7 @@ FILE /propertyAccessors.kt
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
CLASS CLASS Host
|
||||
$new: VALUE_PARAMETER <receiver: Host>
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor Host<T>()
|
||||
TYPE_PARAMETER <T>
|
||||
|
||||
Reference in New Issue
Block a user