Skip to content

Commit 6cb7cd1

Browse files
francescoo22Space Team
authored andcommitted
[Tests] Add captured type parameters in synthetic accessors tests
^79739
1 parent 87792c0 commit 6cb7cd1

11 files changed

+57
-46
lines changed

compiler/testData/codegen/box/typeErasure/outerClassWithTypeParameterAndChainOfInnerClassesWithTypeParameters.preprocessed.ir.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,24 @@ FUN name:foo visibility:public modality:FINAL returnType:kotlin.Int [inline]
1717
ARG <this>: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUS
1818
ARG <this>: CALL 'public abstract fun <get-length> (): kotlin.Int declared in kotlin.CharSequence' type=kotlin.Int origin=GET_PROPERTY
1919
ARG <this>: CALL 'public final fun <get-a> (): T of <root>.A declared in <root>.A' type=kotlin.CharSequence origin=GET_PROPERTY
20-
ARG <this>: CALL 'public final fun access$<outer-this-1> ($this: <root>.A.Inner1.Inner2<I2 of <root>.A.Inner1.Inner2, I1 of <root>.A.Inner1, T of <root>.A>): <root>.A<T of <root>.A> declared in <root>.A.Inner1.Inner2' type=<root>.A<kotlin.CharSequence> origin=null
20+
ARG <this>: CALL 'public final fun access$<outer-this-1> <I2, I1, T> ($this: <root>.A.Inner1.Inner2<I2 of <root>.A.Inner1.Inner2.access$<outer-this-1>, I1 of <root>.A.Inner1.Inner2.access$<outer-this-1>, T of <root>.A.Inner1.Inner2.access$<outer-this-1>>): <root>.A<T of <root>.A.Inner1.Inner2.access$<outer-this-1>> declared in <root>.A.Inner1.Inner2' type=<root>.A<kotlin.CharSequence> origin=null
21+
TYPE_ARG I2: kotlin.CharSequence
22+
TYPE_ARG I1: kotlin.CharSequence
23+
TYPE_ARG T: kotlin.CharSequence
2124
ARG $this: GET_VAR '<this>: <root>.A.Inner1.Inner2<kotlin.CharSequence, kotlin.CharSequence, kotlin.CharSequence> declared in <root>.foo' type=<root>.A.Inner1.Inner2<kotlin.CharSequence, kotlin.CharSequence, kotlin.CharSequence> origin=null
2225
ARG other: CALL 'public abstract fun <get-length> (): kotlin.Int declared in kotlin.CharSequence' type=kotlin.Int origin=GET_PROPERTY
2326
ARG <this>: CALL 'public final fun <get-b> (): T of <root>.A declared in <root>.A.Inner1' type=kotlin.CharSequence origin=GET_PROPERTY
24-
ARG <this>: CALL 'public final fun access$<outer-this-0> ($this: <root>.A.Inner1.Inner2<I2 of <root>.A.Inner1.Inner2, I1 of <root>.A.Inner1, T of <root>.A>): <root>.A.Inner1<I1 of <root>.A.Inner1, T of <root>.A> declared in <root>.A.Inner1.Inner2' type=<root>.A.Inner1<kotlin.CharSequence, kotlin.CharSequence> origin=null
27+
ARG <this>: CALL 'public final fun access$<outer-this-0> <I2, I1, T> ($this: <root>.A.Inner1.Inner2<I2 of <root>.A.Inner1.Inner2.access$<outer-this-0>, I1 of <root>.A.Inner1.Inner2.access$<outer-this-0>, T of <root>.A.Inner1.Inner2.access$<outer-this-0>>): <root>.A.Inner1<I1 of <root>.A.Inner1.Inner2.access$<outer-this-0>, T of <root>.A.Inner1.Inner2.access$<outer-this-0>> declared in <root>.A.Inner1.Inner2' type=<root>.A.Inner1<kotlin.CharSequence, kotlin.CharSequence> origin=null
28+
TYPE_ARG I2: kotlin.CharSequence
29+
TYPE_ARG I1: kotlin.CharSequence
30+
TYPE_ARG T: kotlin.CharSequence
2531
ARG $this: GET_VAR '<this>: <root>.A.Inner1.Inner2<kotlin.CharSequence, kotlin.CharSequence, kotlin.CharSequence> declared in <root>.foo' type=<root>.A.Inner1.Inner2<kotlin.CharSequence, kotlin.CharSequence, kotlin.CharSequence> origin=null
2632
ARG other: CALL 'public abstract fun <get-length> (): kotlin.Int declared in kotlin.CharSequence' type=kotlin.Int origin=GET_PROPERTY
2733
ARG <this>: CALL 'public final fun <get-c> (): I1 of <root>.A.Inner1 declared in <root>.A.Inner1' type=kotlin.CharSequence origin=GET_PROPERTY
28-
ARG <this>: CALL 'public final fun access$<outer-this-0> ($this: <root>.A.Inner1.Inner2<I2 of <root>.A.Inner1.Inner2, I1 of <root>.A.Inner1, T of <root>.A>): <root>.A.Inner1<I1 of <root>.A.Inner1, T of <root>.A> declared in <root>.A.Inner1.Inner2' type=<root>.A.Inner1<kotlin.CharSequence, kotlin.CharSequence> origin=null
34+
ARG <this>: CALL 'public final fun access$<outer-this-0> <I2, I1, T> ($this: <root>.A.Inner1.Inner2<I2 of <root>.A.Inner1.Inner2.access$<outer-this-0>, I1 of <root>.A.Inner1.Inner2.access$<outer-this-0>, T of <root>.A.Inner1.Inner2.access$<outer-this-0>>): <root>.A.Inner1<I1 of <root>.A.Inner1.Inner2.access$<outer-this-0>, T of <root>.A.Inner1.Inner2.access$<outer-this-0>> declared in <root>.A.Inner1.Inner2' type=<root>.A.Inner1<kotlin.CharSequence, kotlin.CharSequence> origin=null
35+
TYPE_ARG I2: kotlin.CharSequence
36+
TYPE_ARG I1: kotlin.CharSequence
37+
TYPE_ARG T: kotlin.CharSequence
2938
ARG $this: GET_VAR '<this>: <root>.A.Inner1.Inner2<kotlin.CharSequence, kotlin.CharSequence, kotlin.CharSequence> declared in <root>.foo' type=<root>.A.Inner1.Inner2<kotlin.CharSequence, kotlin.CharSequence, kotlin.CharSequence> origin=null
3039
ARG other: CALL 'public abstract fun <get-length> (): kotlin.Int declared in kotlin.CharSequence' type=kotlin.Int origin=GET_PROPERTY
3140
ARG <this>: CALL 'public final fun <get-d> (): T of <root>.A declared in <root>.A.Inner1.Inner2' type=kotlin.CharSequence origin=GET_PROPERTY

compiler/testData/codegen/box/typeErasure/outerClassWithTypeParameterAndInnerClassWithTypeParameter.preprocessed.ir.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ FUN name:foo visibility:public modality:FINAL returnType:kotlin.Int [inline]
1212
ARG <this>: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUS
1313
ARG <this>: CALL 'public abstract fun <get-length> (): kotlin.Int declared in kotlin.CharSequence' type=kotlin.Int origin=GET_PROPERTY
1414
ARG <this>: CALL 'public final fun <get-a> (): T of <root>.A declared in <root>.A' type=kotlin.CharSequence origin=GET_PROPERTY
15-
ARG <this>: CALL 'public final fun access$<outer-this-0> ($this: <root>.A.Inner<I of <root>.A.Inner, T of <root>.A>): <root>.A<T of <root>.A> declared in <root>.A.Inner' type=<root>.A<kotlin.CharSequence> origin=null
15+
ARG <this>: CALL 'public final fun access$<outer-this-0> <I, T> ($this: <root>.A.Inner<I of <root>.A.Inner.access$<outer-this-0>, T of <root>.A.Inner.access$<outer-this-0>>): <root>.A<T of <root>.A.Inner.access$<outer-this-0>> declared in <root>.A.Inner' type=<root>.A<kotlin.CharSequence> origin=null
16+
TYPE_ARG I: kotlin.CharSequence
17+
TYPE_ARG T: kotlin.CharSequence
1618
ARG $this: GET_VAR '<this>: <root>.A.Inner<kotlin.CharSequence, kotlin.CharSequence> declared in <root>.foo' type=<root>.A.Inner<kotlin.CharSequence, kotlin.CharSequence> origin=null
1719
ARG other: CALL 'public abstract fun <get-length> (): kotlin.Int declared in kotlin.CharSequence' type=kotlin.Int origin=GET_PROPERTY
1820
ARG <this>: CALL 'public final fun <get-b> (): T of <root>.A declared in <root>.A.Inner' type=kotlin.CharSequence origin=GET_PROPERTY

compiler/testData/klib/syntheticAccessors/outerThis/crossFileLeak/leakingOuterThisWithTypeParameters.accessors.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ public class Outer<O : Any?>
66
public inner class InnerL1<I1 : Any?>
77
public inner class InnerL2<I2 : Any?>
88
public inline fun getAll(): Triple<O, I1, I2>
9-
/* ACCESSOR use-site */ access$<outer-this-1>($this = <this>)
10-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>)
9+
/* ACCESSOR use-site */ access$<outer-this-1><I2, I1, O>($this = <this>)
10+
/* ACCESSOR use-site */ access$<outer-this-0><I2, I1, O>($this = <this>)
1111
/* ACCESSOR declaration */ private fun <outer-this-0>(): InnerL1<I1, O>
1212
/* TARGET use-site */ <this>
1313
/* ACCESSOR declaration */ private fun <outer-this-1>(): Outer<O>
1414
/* TARGET use-site */ <this>
15-
/* ACCESSOR declaration */ public /* static */ fun access$<outer-this-0>($this: InnerL2<I2, I1, O>): InnerL1<I1, O>
15+
/* ACCESSOR declaration */ public /* static */ fun <I2 : Any?, I1 : Any?, O : Any?> access$<outer-this-0>($this: InnerL2<I2, I1, O>): InnerL1<I1, O>
1616
/* ACCESSOR use-site */ $this.<outer-this-0>()
17-
/* ACCESSOR declaration */ public /* static */ fun access$<outer-this-1>($this: InnerL2<I2, I1, O>): Outer<O>
17+
/* ACCESSOR declaration */ public /* static */ fun <I2 : Any?, I1 : Any?, O : Any?> access$<outer-this-1>($this: InnerL2<I2, I1, O>): Outer<O>
1818
/* ACCESSOR use-site */ $this.<outer-this-1>()
1919
/* TARGET declaration */ <this>: InnerL1<I1, O>
2020
/* TARGET declaration */ <this>: Outer<O>
@@ -24,5 +24,5 @@ public class Outer<O : Any?>
2424

2525
public fun box(): String
2626
val result: String
27-
/* ACCESSOR use-site */ access$<outer-this-1>($this = this)
28-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this)
27+
/* ACCESSOR use-site */ access$<outer-this-1><Any?, Any?, Any?>($this = this)
28+
/* ACCESSOR use-site */ access$<outer-this-0><Any?, Any?, Any?>($this = this)

compiler/testData/klib/syntheticAccessors/outerThis/crossModuleLeak/leakingOuterThisWithTypeParameters.accessors.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ public class Outer<O : Any?>
66
public inner class InnerL1<I1 : Any?>
77
public inner class InnerL2<I2 : Any?>
88
public inline fun getAll(): Triple<O, I1, I2>
9-
/* ACCESSOR use-site */ access$<outer-this-1>($this = <this>)
10-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>)
9+
/* ACCESSOR use-site */ access$<outer-this-1><I2, I1, O>($this = <this>)
10+
/* ACCESSOR use-site */ access$<outer-this-0><I2, I1, O>($this = <this>)
1111
/* ACCESSOR declaration */ private fun <outer-this-0>(): InnerL1<I1, O>
1212
/* TARGET use-site */ <this>
1313
/* ACCESSOR declaration */ private fun <outer-this-1>(): Outer<O>
1414
/* TARGET use-site */ <this>
15-
/* ACCESSOR declaration */ public /* static */ fun access$<outer-this-0>($this: InnerL2<I2, I1, O>): InnerL1<I1, O>
15+
/* ACCESSOR declaration */ public /* static */ fun <I2 : Any?, I1 : Any?, O : Any?> access$<outer-this-0>($this: InnerL2<I2, I1, O>): InnerL1<I1, O>
1616
/* ACCESSOR use-site */ $this.<outer-this-0>()
17-
/* ACCESSOR declaration */ public /* static */ fun access$<outer-this-1>($this: InnerL2<I2, I1, O>): Outer<O>
17+
/* ACCESSOR declaration */ public /* static */ fun <I2 : Any?, I1 : Any?, O : Any?> access$<outer-this-1>($this: InnerL2<I2, I1, O>): Outer<O>
1818
/* ACCESSOR use-site */ $this.<outer-this-1>()
1919
/* TARGET declaration */ <this>: InnerL1<I1, O>
2020
/* TARGET declaration */ <this>: Outer<O>
@@ -26,5 +26,5 @@ public class Outer<O : Any?>
2626

2727
public fun box(): String
2828
val result: String
29-
/* ACCESSOR use-site */ access$<outer-this-1>($this = this)
30-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this)
29+
/* ACCESSOR use-site */ access$<outer-this-1><Any?, Any?, Any?>($this = this)
30+
/* ACCESSOR use-site */ access$<outer-this-0><Any?, Any?, Any?>($this = this)

compiler/testData/klib/syntheticAccessors/outerThis/singleFile/leakingOuterThisWithTypeParameters.accessors.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ public class Outer<O : Any?>
66
public inner class InnerL1<I1 : Any?>
77
public inner class InnerL2<I2 : Any?>
88
public inline fun getAll(): Triple<O, I1, I2>
9-
/* ACCESSOR use-site */ access$<outer-this-1>($this = <this>)
10-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>)
9+
/* ACCESSOR use-site */ access$<outer-this-1><I2, I1, O>($this = <this>)
10+
/* ACCESSOR use-site */ access$<outer-this-0><I2, I1, O>($this = <this>)
1111
/* ACCESSOR declaration */ private fun <outer-this-0>(): InnerL1<I1, O>
1212
/* TARGET use-site */ <this>
1313
/* ACCESSOR declaration */ private fun <outer-this-1>(): Outer<O>
1414
/* TARGET use-site */ <this>
15-
/* ACCESSOR declaration */ public /* static */ fun access$<outer-this-0>($this: InnerL2<I2, I1, O>): InnerL1<I1, O>
15+
/* ACCESSOR declaration */ public /* static */ fun <I2 : Any?, I1 : Any?, O : Any?> access$<outer-this-0>($this: InnerL2<I2, I1, O>): InnerL1<I1, O>
1616
/* ACCESSOR use-site */ $this.<outer-this-0>()
17-
/* ACCESSOR declaration */ public /* static */ fun access$<outer-this-1>($this: InnerL2<I2, I1, O>): Outer<O>
17+
/* ACCESSOR declaration */ public /* static */ fun <I2 : Any?, I1 : Any?, O : Any?> access$<outer-this-1>($this: InnerL2<I2, I1, O>): Outer<O>
1818
/* ACCESSOR use-site */ $this.<outer-this-1>()
1919
/* TARGET declaration */ <this>: InnerL1<I1, O>
2020
/* TARGET declaration */ <this>: Outer<O>
2121
public fun box(): String
2222
val result: String
23-
/* ACCESSOR use-site */ access$<outer-this-1>($this = this)
24-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this)
23+
/* ACCESSOR use-site */ access$<outer-this-1><Any?, Any?, Any?>($this = this)
24+
/* ACCESSOR use-site */ access$<outer-this-0><Any?, Any?, Any?>($this = this)

compiler/testData/klib/syntheticAccessors/privateMember/crossFilePrivateLeak/leakingPrivateConstructorInInnerClassWithTypeParameter.accessors.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ public class A
99
/* TARGET use-site */ <this>
1010
/* TARGET use-site */ <this>.Inner<T>(s = "" as T)
1111
internal inline fun internalInlineMethod(s: T): Inner<T>
12-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>)
13-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>).Inner<T>(s = s, $constructor_marker = null)
12+
/* ACCESSOR use-site */ access$<outer-this-0><T>($this = <this>)
13+
/* ACCESSOR use-site */ access$<outer-this-0><T>($this = <this>).Inner<T>(s = s, $constructor_marker = null)
1414
/* ACCESSOR declaration */ private fun <outer-this-0>(): A
1515
/* TARGET use-site */ <this>
1616
/* ACCESSOR declaration */ internal constructor(s: T, $constructor_marker: SyntheticConstructorMarker?)
1717
/* TARGET use-site */ <this>.Inner<T>(s = s)
18-
/* ACCESSOR declaration */ internal /* static */ fun access$<outer-this-0>($this: Inner<T>): A
18+
/* ACCESSOR declaration */ internal /* static */ fun <T : Any?> access$<outer-this-0>($this: Inner<T>): A
1919
/* ACCESSOR use-site */ $this.<outer-this-0>()
2020
/* TARGET declaration */ <this>: A
2121

2222

2323
/* FILE package=<root> fileName=main.kt */
2424

2525
public fun box(): String
26-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this)
27-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this).Inner<Any?>(s = s, $constructor_marker = null)
26+
/* ACCESSOR use-site */ access$<outer-this-0><Any?>($this = this)
27+
/* ACCESSOR use-site */ access$<outer-this-0><Any?>($this = this).Inner<Any?>(s = s, $constructor_marker = null)

compiler/testData/klib/syntheticAccessors/privateMember/crossFilePrivateLeak/usePrivateMethodFromInternalInlineGenericFakeOverride.accessors.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
public open class A<T : Any?>
66
/* TARGET declaration */ private fun <U : Any?> privateMethod(o: T, k: U): String
77
internal inline fun <U : Any?> internalInlineMethod(o: T, k: U): String
8-
/* ACCESSOR use-site */ access$privateMethod<U>($this = <this>, o = o, k = k)
9-
/* ACCESSOR declaration */ internal /* static */ fun <U : Any?> access$privateMethod($this: A<T>, o: T, k: U): String
8+
/* ACCESSOR use-site */ access$privateMethod<T, U>($this = <this>, o = o, k = k)
9+
/* ACCESSOR declaration */ internal /* static */ fun <T : Any?, U : Any?> access$privateMethod($this: A<T>, o: T, k: U): String
1010
/* TARGET use-site */ $this.privateMethod<U>(o = o, k = k)
1111

1212

1313
/* FILE package=<root> fileName=B.kt */
1414

1515
public fun box(): String
16-
/* ACCESSOR use-site */ access$privateMethod<Any?>($this = this, o = o, k = k)
16+
/* ACCESSOR use-site */ access$privateMethod<Any?, Any?>($this = this, o = o, k = k)

compiler/testData/klib/syntheticAccessors/privateMember/crossModulePrivateLeak/leakingPrivateConstructorInInnerClassWithTypeParameter.accessors.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ public class A
99
/* TARGET use-site */ <this>
1010
/* TARGET use-site */ <this>.Inner<T>(s = "" as T)
1111
internal inline fun internalInlineMethod(s: T): Inner<T>
12-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>)
13-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>).Inner<T>(s = s, $constructor_marker = null)
12+
/* ACCESSOR use-site */ access$<outer-this-0><T>($this = <this>)
13+
/* ACCESSOR use-site */ access$<outer-this-0><T>($this = <this>).Inner<T>(s = s, $constructor_marker = null)
1414
/* ACCESSOR declaration */ private fun <outer-this-0>(): A
1515
/* TARGET use-site */ <this>
1616
/* ACCESSOR declaration */ internal constructor(s: T, $constructor_marker: SyntheticConstructorMarker?)
1717
/* TARGET use-site */ <this>.Inner<T>(s = s)
18-
/* ACCESSOR declaration */ internal /* static */ fun access$<outer-this-0>($this: Inner<T>): A
18+
/* ACCESSOR declaration */ internal /* static */ fun <T : Any?> access$<outer-this-0>($this: Inner<T>): A
1919
/* ACCESSOR use-site */ $this.<outer-this-0>()
2020
/* TARGET declaration */ <this>: A
2121

@@ -25,5 +25,5 @@ public class A
2525
/* FILE package=<root> fileName=B.kt */
2626

2727
public fun box(): String
28-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this)
29-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this).Inner<Any?>(s = s, $constructor_marker = null)
28+
/* ACCESSOR use-site */ access$<outer-this-0><Any?>($this = this)
29+
/* ACCESSOR use-site */ access$<outer-this-0><Any?>($this = this).Inner<Any?>(s = s, $constructor_marker = null)

compiler/testData/klib/syntheticAccessors/privateMember/crossModulePrivateLeak/usePrivateMethodFromInternalInlineGenericFakeOverride.accessors.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
public open class A<T : Any?>
66
/* TARGET declaration */ private fun <U : Any?> privateMethod(o: T, k: U): String
77
internal inline fun <U : Any?> internalInlineMethod(o: T, k: U): String
8-
/* ACCESSOR use-site */ access$privateMethod<U>($this = <this>, o = o, k = k)
9-
/* ACCESSOR declaration */ internal /* static */ fun <U : Any?> access$privateMethod($this: A<T>, o: T, k: U): String
8+
/* ACCESSOR use-site */ access$privateMethod<T, U>($this = <this>, o = o, k = k)
9+
/* ACCESSOR declaration */ internal /* static */ fun <T : Any?, U : Any?> access$privateMethod($this: A<T>, o: T, k: U): String
1010
/* TARGET use-site */ $this.privateMethod<U>(o = o, k = k)
1111

1212

@@ -15,4 +15,4 @@ public open class A<T : Any?>
1515
/* FILE package=<root> fileName=B.kt */
1616

1717
public fun box(): String
18-
/* ACCESSOR use-site */ access$privateMethod<Any?>($this = this, o = o, k = k)
18+
/* ACCESSOR use-site */ access$privateMethod<Any?, Any?>($this = this, o = o, k = k)

compiler/testData/klib/syntheticAccessors/privateMember/singleFile/leakingPrivateConstructorInInnerClassWithTypeParameter.accessors.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ public class A
99
/* TARGET use-site */ <this>
1010
/* TARGET use-site */ <this>.Inner<T>(s = "" as T)
1111
internal inline fun internalInlineMethod(s: T): Inner<T>
12-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>)
13-
/* ACCESSOR use-site */ access$<outer-this-0>($this = <this>).Inner<T>(s = s, $constructor_marker = null)
12+
/* ACCESSOR use-site */ access$<outer-this-0><T>($this = <this>)
13+
/* ACCESSOR use-site */ access$<outer-this-0><T>($this = <this>).Inner<T>(s = s, $constructor_marker = null)
1414
/* ACCESSOR declaration */ private fun <outer-this-0>(): A
1515
/* TARGET use-site */ <this>
1616
/* ACCESSOR declaration */ internal constructor(s: T, $constructor_marker: SyntheticConstructorMarker?)
1717
/* TARGET use-site */ <this>.Inner<T>(s = s)
18-
/* ACCESSOR declaration */ internal /* static */ fun access$<outer-this-0>($this: Inner<T>): A
18+
/* ACCESSOR declaration */ internal /* static */ fun <T : Any?> access$<outer-this-0>($this: Inner<T>): A
1919
/* ACCESSOR use-site */ $this.<outer-this-0>()
2020
/* TARGET declaration */ <this>: A
2121
public fun box(): String
22-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this)
23-
/* ACCESSOR use-site */ access$<outer-this-0>($this = this).Inner<Any?>(s = s, $constructor_marker = null)
22+
/* ACCESSOR use-site */ access$<outer-this-0><Any?>($this = this)
23+
/* ACCESSOR use-site */ access$<outer-this-0><Any?>($this = this).Inner<Any?>(s = s, $constructor_marker = null)

0 commit comments

Comments
 (0)