[IR] update testdata after using maxBlankLines=1 for Printer
This commit is contained in:
committed by
teamcityserver
parent
6e318893f6
commit
602f0ddbc8
@@ -13,9 +13,6 @@ abstract class AbstractClass {
|
|||||||
abstract get
|
abstract get
|
||||||
abstract set
|
abstract set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Interface {
|
interface Interface {
|
||||||
@@ -27,8 +24,5 @@ interface Interface {
|
|||||||
abstract get
|
abstract get
|
||||||
abstract set
|
abstract set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ annotation class Test1 : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test2 : Annotation {
|
annotation class Test2 : Annotation {
|
||||||
@@ -15,9 +12,6 @@ annotation class Test2 : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test3 : Annotation {
|
annotation class Test3 : Annotation {
|
||||||
@@ -26,9 +20,6 @@ annotation class Test3 : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test4 : Annotation {
|
annotation class Test4 : Annotation {
|
||||||
@@ -37,8 +28,5 @@ annotation class Test4 : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-9
@@ -13,9 +13,6 @@ open class Base {
|
|||||||
field = y
|
field = y
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test1 : Base {
|
class Test1 : Base {
|
||||||
@@ -27,9 +24,6 @@ class Test1 : Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 : Base {
|
class Test2 : Base {
|
||||||
@@ -47,8 +41,5 @@ class Test2 : Base {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,9 +58,6 @@ class C {
|
|||||||
println(message = "4")
|
println(message = "4")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface NestedInterface {
|
interface NestedInterface {
|
||||||
@@ -69,9 +66,6 @@ class C {
|
|||||||
return <this>.foo()
|
return <this>.foo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object Companion {
|
companion object Companion {
|
||||||
@@ -81,13 +75,7 @@ class C {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,15 +5,10 @@ class TestClass {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TestInterface {
|
interface TestInterface {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object TestObject {
|
object TestObject {
|
||||||
@@ -23,16 +18,11 @@ object TestObject {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnnotationClass : Annotation {
|
annotation class TestAnnotationClass : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class TestEnumClass : Enum<TestEnumClass> {
|
enum class TestEnumClass : Enum<TestEnumClass> {
|
||||||
@@ -42,13 +32,6 @@ enum class TestEnumClass : Enum<TestEnumClass> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnumClass> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnumClass> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
@@ -5,17 +5,10 @@ class A : Cloneable {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface I : Cloneable {
|
interface I : Cloneable {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C : I {
|
class C : I {
|
||||||
@@ -25,10 +18,6 @@ class C : I {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class OC : I {
|
class OC : I {
|
||||||
@@ -42,8 +31,5 @@ class OC : I {
|
|||||||
return OC()
|
return OC()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,14 +12,8 @@ class Test1 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 {
|
class Test2 {
|
||||||
@@ -36,13 +30,7 @@ class Test2 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,6 @@ interface IBase<A : Any?> {
|
|||||||
abstract get
|
abstract get
|
||||||
abstract set
|
abstract set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test1<E : Any?> : IBase<E> {
|
class Test1<E : Any?> : IBase<E> {
|
||||||
@@ -37,9 +34,6 @@ class Test1<E : Any?> : IBase<E> {
|
|||||||
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
|
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 : IBase<String> {
|
class Test2 : IBase<String> {
|
||||||
@@ -72,8 +66,5 @@ class Test2 : IBase<String> {
|
|||||||
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
|
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ interface IBase {
|
|||||||
abstract fun bar(): Int
|
abstract fun bar(): Int
|
||||||
abstract fun String.qux()
|
abstract fun String.qux()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object BaseImpl : IBase {
|
object BaseImpl : IBase {
|
||||||
@@ -24,9 +22,6 @@ object BaseImpl : IBase {
|
|||||||
override fun String.qux() {
|
override fun String.qux() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IOther {
|
interface IOther {
|
||||||
@@ -44,9 +39,6 @@ interface IOther {
|
|||||||
abstract get
|
abstract get
|
||||||
abstract set
|
abstract set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun otherImpl(x0: String, y0: Int): IOther {
|
fun otherImpl(x0: String, y0: Int): IOther {
|
||||||
@@ -79,12 +71,8 @@ fun otherImpl(x0: String, y0: Int): IOther {
|
|||||||
override set(value: Int) {
|
override set(value: Int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<no name provided>()
|
<no name provided>()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -109,9 +97,6 @@ class Test1 : IBase {
|
|||||||
(#$$delegate_0, <this>).qux()
|
(#$$delegate_0, <this>).qux()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 : IBase, IOther {
|
class Test2 : IBase, IOther {
|
||||||
@@ -161,8 +146,5 @@ class Test2 : IBase, IOther {
|
|||||||
#$$delegate_1.<set-y>(<set-?> = <set-?>)
|
#$$delegate_1.<set-y>(<set-?> = <set-?>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-3
@@ -35,8 +35,5 @@ class Test : J {
|
|||||||
#j.takeNullable(x = x)
|
#j.takeNullable(x = x)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-8
@@ -2,8 +2,6 @@ interface IFooBar {
|
|||||||
abstract fun foo()
|
abstract fun foo()
|
||||||
abstract fun bar()
|
abstract fun bar()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object FooBarImpl : IFooBar {
|
object FooBarImpl : IFooBar {
|
||||||
@@ -19,9 +17,6 @@ object FooBarImpl : IFooBar {
|
|||||||
override fun bar() {
|
override fun bar() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C : IFooBar {
|
class C : IFooBar {
|
||||||
@@ -39,8 +34,5 @@ class C : IFooBar {
|
|||||||
override fun bar() {
|
override fun bar() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-9
@@ -9,9 +9,6 @@ open class Cell<T : Any?> {
|
|||||||
field = value
|
field = value
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
typealias CT<T : Any?> = Cell<T>
|
typealias CT<T : Any?> = Cell<T>
|
||||||
@@ -23,9 +20,6 @@ class C1 : Cell<String> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C2 : Cell<String> {
|
class C2 : Cell<String> {
|
||||||
@@ -35,8 +29,5 @@ class C2 : Cell<String> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-6
@@ -5,9 +5,6 @@ open class Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test : Base {
|
class Test : Base {
|
||||||
@@ -27,8 +24,5 @@ class Test : Base {
|
|||||||
this/*Test*/()
|
this/*Test*/()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-32
@@ -7,11 +7,6 @@ enum class TestEnum1 : Enum<TestEnum1> {
|
|||||||
|
|
||||||
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall")
|
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum1> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum1> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum1 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum1 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -31,11 +26,6 @@ enum class TestEnum2 : Enum<TestEnum2> {
|
|||||||
|
|
||||||
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall")
|
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum2> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum2> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum2 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum2 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -51,12 +41,6 @@ abstract enum class TestEnum3 : Enum<TestEnum3> {
|
|||||||
|
|
||||||
TEST init = TODO("IrEnumConstructorCall") abstract fun foo()
|
TEST init = TODO("IrEnumConstructorCall") abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum3> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum3> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum3 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum3 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -76,12 +60,6 @@ abstract enum class TestEnum4 : Enum<TestEnum4> {
|
|||||||
|
|
||||||
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") abstract fun foo()
|
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum4> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum4> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum4 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum4 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -101,11 +79,6 @@ enum class TestEnum5 : Enum<TestEnum5> {
|
|||||||
|
|
||||||
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall")
|
TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum5> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum5> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum5 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum5 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -137,11 +110,6 @@ enum class TestEnum6 : Enum<TestEnum6> {
|
|||||||
TODO("IrEnumConstructorCall")
|
TODO("IrEnumConstructorCall")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum6> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum6> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum6 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum6 /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
@@ -7,11 +7,6 @@ enum class TestFinalEnum1 : Enum<TestFinalEnum1> {
|
|||||||
|
|
||||||
X1 init = TODO("IrEnumConstructorCall")
|
X1 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestFinalEnum1> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestFinalEnum1> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestFinalEnum1 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestFinalEnum1 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -31,11 +26,6 @@ enum class TestFinalEnum2 : Enum<TestFinalEnum2> {
|
|||||||
|
|
||||||
X1 init = TODO("IrEnumConstructorCall")
|
X1 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestFinalEnum2> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestFinalEnum2> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestFinalEnum2 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestFinalEnum2 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -52,13 +42,6 @@ enum class TestFinalEnum3 : Enum<TestFinalEnum3> {
|
|||||||
X1 init = TODO("IrEnumConstructorCall") fun doStuff() {
|
X1 init = TODO("IrEnumConstructorCall") fun doStuff() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestFinalEnum3> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestFinalEnum3> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestFinalEnum3 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestFinalEnum3 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -74,11 +57,6 @@ open enum class TestOpenEnum1 : Enum<TestOpenEnum1> {
|
|||||||
|
|
||||||
X1 init = TODO("IrEnumConstructorCall")
|
X1 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestOpenEnum1> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestOpenEnum1> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestOpenEnum1 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestOpenEnum1 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -95,13 +73,6 @@ open enum class TestOpenEnum2 : Enum<TestOpenEnum2> {
|
|||||||
X1 init = TODO("IrEnumConstructorCall") open fun foo() {
|
X1 init = TODO("IrEnumConstructorCall") open fun foo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestOpenEnum2> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestOpenEnum2> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestOpenEnum2 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestOpenEnum2 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -117,12 +88,6 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
|
|||||||
|
|
||||||
X1 init = TODO("IrEnumConstructorCall") abstract fun foo()
|
X1 init = TODO("IrEnumConstructorCall") abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestAbstractEnum1> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestAbstractEnum1> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestAbstractEnum1 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestAbstractEnum1 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -132,8 +97,6 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
|
|||||||
interface IFoo {
|
interface IFoo {
|
||||||
abstract fun foo()
|
abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
|
abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
|
||||||
@@ -145,12 +108,6 @@ abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
|
|||||||
|
|
||||||
X1 init = TODO("IrEnumConstructorCall")
|
X1 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestAbstractEnum2> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestAbstractEnum2> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestAbstractEnum2 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestAbstractEnum2 /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
@@ -39,13 +39,6 @@ open enum class A : Enum<A> {
|
|||||||
<this>.<get-prop3>()
|
<this>.<get-prop3>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<A> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<A> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
@@ -13,13 +13,6 @@ enum class Test0 : Enum<Test0> {
|
|||||||
this/*Test0*/(x = 0)
|
this/*Test0*/(x = 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<Test0> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<Test0> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): Test0 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): Test0 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -41,13 +34,6 @@ enum class Test1 : Enum<Test1> {
|
|||||||
this/*Test1*/(x = 0)
|
this/*Test1*/(x = 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<Test1> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<Test1> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): Test1 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): Test1 /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -71,12 +57,6 @@ abstract enum class Test2 : Enum<Test2> {
|
|||||||
|
|
||||||
abstract fun foo()
|
abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<Test2> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<Test2> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): Test2 /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): Test2 /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
@@ -5,10 +5,5 @@ class Test : Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-31
@@ -1,8 +1,6 @@
|
|||||||
interface IFoo {
|
interface IFoo {
|
||||||
abstract fun foo(): String
|
abstract fun foo(): String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class K1 : JFoo {
|
class K1 : JFoo {
|
||||||
@@ -12,10 +10,6 @@ class K1 : JFoo {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class K2 : JFoo {
|
class K2 : JFoo {
|
||||||
@@ -29,9 +23,6 @@ class K2 : JFoo {
|
|||||||
return super.foo() /*!! String */
|
return super.foo() /*!! String */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class K3 : JUnrelatedFoo, IFoo {
|
class K3 : JUnrelatedFoo, IFoo {
|
||||||
@@ -41,10 +32,6 @@ class K3 : JUnrelatedFoo, IFoo {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class K4 : JUnrelatedFoo, IFoo {
|
class K4 : JUnrelatedFoo, IFoo {
|
||||||
@@ -58,9 +45,6 @@ class K4 : JUnrelatedFoo, IFoo {
|
|||||||
return super.foo()
|
return super.foo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestJFoo : IFoo {
|
class TestJFoo : IFoo {
|
||||||
@@ -75,9 +59,6 @@ class TestJFoo : IFoo {
|
|||||||
return #$$delegate_0.foo() /*!! String */
|
return #$$delegate_0.foo() /*!! String */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestK1 : IFoo {
|
class TestK1 : IFoo {
|
||||||
@@ -92,9 +73,6 @@ class TestK1 : IFoo {
|
|||||||
return #$$delegate_0.foo() /*!! String */
|
return #$$delegate_0.foo() /*!! String */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestK2 : IFoo {
|
class TestK2 : IFoo {
|
||||||
@@ -109,9 +87,6 @@ class TestK2 : IFoo {
|
|||||||
return #$$delegate_0.foo()
|
return #$$delegate_0.foo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestK3 : IFoo {
|
class TestK3 : IFoo {
|
||||||
@@ -126,9 +101,6 @@ class TestK3 : IFoo {
|
|||||||
return #$$delegate_0.foo()
|
return #$$delegate_0.foo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestK4 : IFoo {
|
class TestK4 : IFoo {
|
||||||
@@ -143,8 +115,5 @@ class TestK4 : IFoo {
|
|||||||
return #$$delegate_0.foo() /*!! String */
|
return #$$delegate_0.foo() /*!! String */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,6 @@ class Test1 {
|
|||||||
println()
|
println()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 {
|
class Test2 {
|
||||||
@@ -29,9 +26,6 @@ class Test2 {
|
|||||||
println()
|
println()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test3 {
|
class Test3 {
|
||||||
@@ -45,9 +39,6 @@ class Test3 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test4 {
|
class Test4 {
|
||||||
@@ -65,9 +56,6 @@ class Test4 {
|
|||||||
println(message = "2")
|
println(message = "2")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test5 {
|
class Test5 {
|
||||||
@@ -92,13 +80,7 @@ class Test5 {
|
|||||||
println(message = "2")
|
println(message = "2")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,6 @@ class TestInitValFromParameter {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitValInClass {
|
class TestInitValInClass {
|
||||||
@@ -25,9 +22,6 @@ class TestInitValInClass {
|
|||||||
field = 0
|
field = 0
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitValInInitBlock {
|
class TestInitValInInitBlock {
|
||||||
@@ -44,8 +38,5 @@ class TestInitValInInitBlock {
|
|||||||
#x = 0
|
#x = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,5 @@ class TestInitValInLambdaCalledOnce {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ class TestInitVarFromParameter {
|
|||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitVarInClass {
|
class TestInitVarInClass {
|
||||||
@@ -27,9 +24,6 @@ class TestInitVarInClass {
|
|||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitVarInInitBlock {
|
class TestInitVarInInitBlock {
|
||||||
@@ -47,9 +41,6 @@ class TestInitVarInInitBlock {
|
|||||||
<this>.<set-x>(<set-?> = 0)
|
<this>.<set-x>(<set-?> = 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitVarWithCustomSetter {
|
class TestInitVarWithCustomSetter {
|
||||||
@@ -66,9 +57,6 @@ class TestInitVarWithCustomSetter {
|
|||||||
#x = value
|
#x = value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitVarWithCustomSetterWithExplicitCtor {
|
class TestInitVarWithCustomSetterWithExplicitCtor {
|
||||||
@@ -88,9 +76,6 @@ class TestInitVarWithCustomSetterWithExplicitCtor {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitVarWithCustomSetterInCtor {
|
class TestInitVarWithCustomSetterInCtor {
|
||||||
@@ -107,8 +92,5 @@ class TestInitVarWithCustomSetterInCtor {
|
|||||||
<this>.<set-x>(value = 42)
|
<this>.<set-x>(value = 42)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ class C<T : Any?> {
|
|||||||
return <this>.<get-t>() as Int
|
return <this>.<get-t>() as Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline class IC<TT : Any?> {
|
inline class IC<TT : Any?> {
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ class Outer {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inner class DerivedInnerClass : TestInnerClass {
|
inner class DerivedInnerClass : TestInnerClass {
|
||||||
@@ -24,13 +21,7 @@ class Outer {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-6
@@ -20,13 +20,7 @@ class Outer {
|
|||||||
<this>.this/*Inner*/(x = 0)
|
<this>.this/*Inner*/(x = 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -56,12 +56,8 @@ data class B {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<no name provided>()
|
<no name provided>()
|
||||||
}) /* primary */ {
|
}) /* primary */ {
|
||||||
super/*Any*/()
|
super/*Any*/()
|
||||||
|
|||||||
@@ -9,12 +9,8 @@ fun outer() {
|
|||||||
fun foo() {
|
fun foo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LocalClass().foo()
|
LocalClass().foo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
interface IFoo {
|
interface IFoo {
|
||||||
abstract fun foo()
|
abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val test1: Any
|
val test1: Any
|
||||||
@@ -14,12 +12,8 @@ val test1: Any
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<no name provided>()
|
<no name provided>()
|
||||||
}
|
}
|
||||||
get
|
get
|
||||||
@@ -37,12 +31,8 @@ val test2: IFoo
|
|||||||
println(message = "foo")
|
println(message = "foo")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<no name provided>()
|
<no name provided>()
|
||||||
}
|
}
|
||||||
get
|
get
|
||||||
@@ -61,10 +51,6 @@ class Outer {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun test3(): Inner {
|
fun test3(): Inner {
|
||||||
@@ -80,19 +66,12 @@ class Outer {
|
|||||||
println(message = "foo")
|
println(message = "foo")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<no name provided>()
|
<no name provided>()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Outer.test4(): Inner {
|
fun Outer.test4(): Inner {
|
||||||
@@ -108,12 +87,8 @@ fun Outer.test4(): Inner {
|
|||||||
println(message = "foo")
|
println(message = "foo")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<no name provided>()
|
<no name provided>()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,6 @@ abstract class Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object Test : Base {
|
object Test : Base {
|
||||||
@@ -28,8 +25,5 @@ object Test : Base {
|
|||||||
#y = <this>.<get-x>()
|
#y = <this>.<get-x>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,18 +35,9 @@ class Outer {
|
|||||||
<this>.foo()
|
<this>.foo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ class Test1 {
|
|||||||
field = y
|
field = y
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 {
|
class Test2 {
|
||||||
@@ -33,9 +30,6 @@ class Test2 {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test3 {
|
class Test3 {
|
||||||
@@ -56,8 +50,5 @@ class Test3 {
|
|||||||
#x = x
|
#x = x
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-12
@@ -5,9 +5,6 @@ open class Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestImplicitPrimaryConstructor : Base {
|
class TestImplicitPrimaryConstructor : Base {
|
||||||
@@ -17,9 +14,6 @@ class TestImplicitPrimaryConstructor : Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestExplicitPrimaryConstructor : Base {
|
class TestExplicitPrimaryConstructor : Base {
|
||||||
@@ -29,9 +23,6 @@ class TestExplicitPrimaryConstructor : Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestWithDelegatingConstructor : Base {
|
class TestWithDelegatingConstructor : Base {
|
||||||
@@ -53,8 +44,5 @@ class TestWithDelegatingConstructor : Base {
|
|||||||
this/*TestWithDelegatingConstructor*/(x = x, y = 0)
|
this/*TestWithDelegatingConstructor*/(x = x, y = 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,6 @@ interface ILeft {
|
|||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IRight {
|
interface IRight {
|
||||||
@@ -21,9 +18,6 @@ interface IRight {
|
|||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class CBoth : ILeft, IRight {
|
class CBoth : ILeft, IRight {
|
||||||
@@ -43,8 +37,5 @@ class CBoth : ILeft, IRight {
|
|||||||
return super.<get-bar>().plus(other = super.<get-bar>())
|
return super.<get-bar>().plus(other = super.<get-bar>())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,6 @@ sealed class Expr {
|
|||||||
field = number
|
field = number
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Sum : Expr {
|
class Sum : Expr {
|
||||||
@@ -36,9 +33,6 @@ sealed class Expr {
|
|||||||
field = e2
|
field = e2
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object NotANumber : Expr {
|
object NotANumber : Expr {
|
||||||
@@ -48,13 +42,7 @@ sealed class Expr {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-9
@@ -5,9 +5,6 @@ open class Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestProperty : Base {
|
class TestProperty : Base {
|
||||||
@@ -21,9 +18,6 @@ class TestProperty : Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestInitBlock : Base {
|
class TestInitBlock : Base {
|
||||||
@@ -50,8 +44,5 @@ class TestInitBlock : Base {
|
|||||||
this/*TestInitBlock*/()
|
this/*TestInitBlock*/()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,5 @@ class C {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ open class Base {
|
|||||||
return super.hashCode()
|
return super.hashCode()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Derived : Base {
|
class Derived : Base {
|
||||||
@@ -36,8 +34,5 @@ class Derived : Base {
|
|||||||
return super.<get-bar>()
|
return super.<get-bar>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ open class Base {
|
|||||||
field = ""
|
field = ""
|
||||||
open get
|
open get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface BaseI {
|
interface BaseI {
|
||||||
@@ -22,9 +19,6 @@ interface BaseI {
|
|||||||
abstract val bar: String
|
abstract val bar: String
|
||||||
abstract get
|
abstract get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Derived : Base, BaseI {
|
class Derived : Base, BaseI {
|
||||||
@@ -43,8 +37,5 @@ class Derived : Base, BaseI {
|
|||||||
return super.<get-bar>()
|
return super.<get-bar>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-9
@@ -4,9 +4,6 @@ annotation class A1 : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A2 : Annotation {
|
annotation class A2 : Annotation {
|
||||||
@@ -15,9 +12,6 @@ annotation class A2 : Annotation {
|
|||||||
field = a
|
field = a
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class AA : Annotation {
|
annotation class AA : Annotation {
|
||||||
@@ -26,9 +20,6 @@ annotation class AA : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A2(a = A1(x = 42))
|
@A2(a = A1(x = 42))
|
||||||
|
|||||||
-7
@@ -1,8 +1,6 @@
|
|||||||
annotation class Ann : Annotation {
|
annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IFoo {
|
interface IFoo {
|
||||||
@@ -19,8 +17,6 @@ interface IFoo {
|
|||||||
@Ann
|
@Ann
|
||||||
abstract fun String.testExtFun()
|
abstract fun String.testExtFun()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class DFoo : IFoo {
|
class DFoo : IFoo {
|
||||||
@@ -51,8 +47,5 @@ class DFoo : IFoo {
|
|||||||
return #$$delegate_0.<get-testVal>()
|
return #$$delegate_0.<get-testVal>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-3
@@ -8,9 +8,6 @@ annotation class A : Annotation {
|
|||||||
field = y
|
field = y
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A(x = "abc", y = 123)
|
@A(x = "abc", y = 123)
|
||||||
|
|||||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A(xs = ["abc", "def"])
|
@A(xs = ["abc", "def"])
|
||||||
|
|||||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnnWithIntArray : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnnWithStringArray : Annotation {
|
annotation class TestAnnWithStringArray : Annotation {
|
||||||
@@ -15,9 +12,6 @@ annotation class TestAnnWithStringArray : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnnWithIntArray(x = [1, 2, 3])
|
@TestAnnWithIntArray(x = [1, 2, 3])
|
||||||
|
|||||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
|||||||
field = klass
|
field = klass
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C {
|
class C {
|
||||||
@@ -16,9 +13,6 @@ class C {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A(klass = C::class)
|
@A(klass = C::class)
|
||||||
|
|||||||
-26
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "class")
|
@TestAnn(x = "class")
|
||||||
@@ -17,16 +14,11 @@ class TestClass {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "interface")
|
@TestAnn(x = "interface")
|
||||||
interface TestInterface {
|
interface TestInterface {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "object")
|
@TestAnn(x = "object")
|
||||||
@@ -37,9 +29,6 @@ object TestObject {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Host {
|
class Host {
|
||||||
@@ -57,14 +46,8 @@ class Host {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "enum")
|
@TestAnn(x = "enum")
|
||||||
@@ -75,13 +58,6 @@ enum class TestEnum : Enum<TestEnum> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -92,7 +68,5 @@ enum class TestEnum : Enum<TestEnum> {
|
|||||||
annotation class TestAnnotation : Annotation {
|
annotation class TestAnnotation : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-3
@@ -8,9 +8,6 @@ annotation class A : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A(x = 1)
|
@A(x = 1)
|
||||||
|
|||||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestClass {
|
class TestClass {
|
||||||
@@ -22,8 +19,5 @@ class TestClass {
|
|||||||
this/*TestClass*/()
|
this/*TestClass*/()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-2
@@ -1,8 +1,6 @@
|
|||||||
annotation class Ann : Annotation {
|
annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val test1: Int /* by */
|
val test1: Int /* by */
|
||||||
|
|||||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Cell {
|
class Cell {
|
||||||
@@ -29,9 +26,6 @@ class Cell {
|
|||||||
<this>.<set-value>(<set-?> = newValue)
|
<this>.<set-value>(<set-?> = newValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val test1: Int /* by */
|
val test1: Int /* by */
|
||||||
|
|||||||
-8
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open enum class TestEnum : Enum<TestEnum> {
|
open enum class TestEnum : Enum<TestEnum> {
|
||||||
@@ -20,11 +17,6 @@ open enum class TestEnum : Enum<TestEnum> {
|
|||||||
ENTRY1 init = TODO("IrEnumConstructorCall") @TestAnn(x = "ENTRY2")
|
ENTRY1 init = TODO("IrEnumConstructorCall") @TestAnn(x = "ENTRY2")
|
||||||
ENTRY2 init = TODO("IrEnumConstructorCall")
|
ENTRY2 init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
-8
@@ -7,11 +7,6 @@ enum class En : Enum<En> {
|
|||||||
|
|
||||||
A init = TODO("IrEnumConstructorCall") B init = TODO("IrEnumConstructorCall") C init = TODO("IrEnumConstructorCall") D init = TODO("IrEnumConstructorCall")
|
A init = TODO("IrEnumConstructorCall") B init = TODO("IrEnumConstructorCall") C init = TODO("IrEnumConstructorCall") D init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -24,9 +19,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = En)
|
@TestAnn(x = En)
|
||||||
|
|||||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val testVal: String
|
val testVal: String
|
||||||
|
|||||||
@@ -8,8 +8,5 @@ annotation class A : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = 42)
|
@TestAnn(x = 42)
|
||||||
|
|||||||
Vendored
-4
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun foo(m: Map<String, Int>) {
|
fun foo(m: Map<String, Int>) {
|
||||||
@@ -20,6 +17,5 @@ fun foo(m: Map<String, Int>) {
|
|||||||
return test$delegate.getValue<Int>(thisRef = null, property = ::test)
|
return test$delegate.getValue<Int>(thisRef = null, property = ::test)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-6
@@ -1,22 +1,16 @@
|
|||||||
annotation class A1 : Annotation {
|
annotation class A1 : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A2 : Annotation {
|
annotation class A2 : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A3 : Annotation {
|
annotation class A3 : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A1
|
@A1
|
||||||
|
|||||||
-5
@@ -1,8 +1,6 @@
|
|||||||
annotation class Ann : Annotation {
|
annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test {
|
class Test {
|
||||||
@@ -16,8 +14,5 @@ class Test {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "testVal.property")
|
@TestAnn(x = "testVal.property")
|
||||||
|
|||||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C {
|
class C {
|
||||||
@@ -28,8 +25,5 @@ class C {
|
|||||||
@A(x = "C.y.set")
|
@A(x = "C.y.set")
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val test1: String
|
val test1: String
|
||||||
|
|||||||
Vendored
-5
@@ -1,8 +1,6 @@
|
|||||||
annotation class AnnParam : Annotation {
|
annotation class AnnParam : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var p: Int
|
var p: Int
|
||||||
@@ -22,8 +20,5 @@ class C {
|
|||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-5
@@ -1,8 +1,6 @@
|
|||||||
annotation class Ann : Annotation {
|
annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class A {
|
class A {
|
||||||
@@ -21,9 +19,6 @@ class A {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun String?.topLevelF(): String {
|
fun String?.topLevelF(): String {
|
||||||
|
|||||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A(xs = [["a"], ["b"]])
|
@A(xs = [["a"], ["b"]])
|
||||||
|
|||||||
-3
@@ -5,9 +5,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "TestTypeAlias")
|
@TestAnn(x = "TestTypeAlias")
|
||||||
|
|||||||
-2
@@ -2,8 +2,6 @@
|
|||||||
annotation class Anno : Annotation {
|
annotation class Anno : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun <@Anno T : Any?> foo() {
|
fun <@Anno T : Any?> foo() {
|
||||||
|
|||||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testFun(x: Int) {
|
fun testFun(x: Int) {
|
||||||
@@ -23,8 +20,5 @@ class TestClassConstructor1 {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-9
@@ -4,9 +4,6 @@ annotation class A1 : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A2 : Annotation {
|
annotation class A2 : Annotation {
|
||||||
@@ -15,9 +12,6 @@ annotation class A2 : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class AA : Annotation {
|
annotation class AA : Annotation {
|
||||||
@@ -26,9 +20,6 @@ annotation class AA : Annotation {
|
|||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@A1(xs = [1, 2, 3])
|
@A1(xs = [1, 2, 3])
|
||||||
|
|||||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun foo() {
|
fun foo() {
|
||||||
|
|||||||
@@ -53,8 +53,5 @@ class C {
|
|||||||
return #test8$delegate.setValue<Int>(thisRef = <this>, property = ::test8, value = <set-?>)
|
return #test8$delegate.setValue<Int>(thisRef = <this>, property = ::test8, value = <set-?>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,5 @@ fun test1(x: Int, y: Int = 0, z: String = "abc") {
|
|||||||
local fun local(xx: Int = x, yy: Int = y, zz: String = z) {
|
local fun local(xx: Int = x, yy: Int = y, zz: String = z) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,9 +36,6 @@ class C {
|
|||||||
return #test3$delegate.setValue<Any>(thisRef = <this>, property = ::test3, value = <set-?>)
|
return #test3$delegate.setValue<Any>(thisRef = <this>, property = ::test3, value = <set-?>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var test4: Any /* by */
|
var test4: Any /* by */
|
||||||
|
|||||||
@@ -29,8 +29,5 @@ class Host {
|
|||||||
set(value: Int) {
|
set(value: Int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,12 @@
|
|||||||
interface IFooStr {
|
interface IFooStr {
|
||||||
abstract fun foo(x: String)
|
abstract fun foo(x: String)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IBar {
|
interface IBar {
|
||||||
abstract val bar: Int
|
abstract val bar: Int
|
||||||
abstract get
|
abstract get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class CFoo<T : Any?> {
|
abstract class CFoo<T : Any?> {
|
||||||
@@ -24,9 +19,6 @@ abstract class CFoo<T : Any?> {
|
|||||||
fun foo(x: T) {
|
fun foo(x: T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test1 : CFoo<String>, IFooStr, IBar {
|
class Test1 : CFoo<String>, IFooStr, IBar {
|
||||||
@@ -40,9 +32,5 @@ class Test1 : CFoo<String>, IFooStr, IBar {
|
|||||||
field = 42
|
field = 42
|
||||||
override get
|
override get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,6 @@ class C<T : Any?> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object Delegate {
|
object Delegate {
|
||||||
@@ -24,9 +21,6 @@ object Delegate {
|
|||||||
operator fun setValue(thisRef: Any?, kProp: Any?, newValue: Int) {
|
operator fun setValue(thisRef: Any?, kProp: Any?, newValue: Int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var <T : Any?> C<T>.genericDelegatedProperty: Int /* by */
|
var <T : Any?> C<T>.genericDelegatedProperty: Int /* by */
|
||||||
|
|||||||
@@ -18,8 +18,5 @@ interface C {
|
|||||||
set(value: Int) {
|
set(value: Int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,5 @@ object Definitions {
|
|||||||
field = #CONSTANT
|
field = #CONSTANT
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ interface I {
|
|||||||
return <this>
|
return <this>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class A : I {
|
class A : I {
|
||||||
@@ -22,8 +19,5 @@ class A : I {
|
|||||||
return (#$$delegate_0, <this>).<get-id><T>()
|
return (#$$delegate_0, <this>).<get-id><T>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,8 @@ fun outer() {
|
|||||||
abstract get
|
abstract get
|
||||||
abstract set
|
abstract set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
local class Local : ALocal {
|
local class Local : ALocal {
|
||||||
constructor() /* primary */ {
|
constructor() /* primary */ {
|
||||||
super/*ALocal*/()
|
super/*ALocal*/()
|
||||||
@@ -39,11 +35,7 @@ fun outer() {
|
|||||||
override get
|
override get
|
||||||
override set
|
override set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ fun test1() {
|
|||||||
return x$delegate.getValue<Int>(thisRef = null, property = ::x)
|
return x$delegate.getValue<Int>(thisRef = null, property = ::x)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
println(message = <get-x>())
|
println(message = <get-x>())
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +21,6 @@ fun test2() {
|
|||||||
return x$delegate.setValue<Int>(thisRef = null, property = ::x, value = value)
|
return x$delegate.setValue<Int>(thisRef = null, property = ::x, value = value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
<set-x>(value = 0)
|
<set-x>(value = 0)
|
||||||
{ // BLOCK
|
{ // BLOCK
|
||||||
val tmp0: Int = <get-x>()
|
val tmp0: Int = <get-x>()
|
||||||
|
|||||||
-9
@@ -2,8 +2,6 @@ expect abstract class A {
|
|||||||
protected expect constructor() /* primary */
|
protected expect constructor() /* primary */
|
||||||
expect abstract fun foo()
|
expect abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
expect open class B : A {
|
expect open class B : A {
|
||||||
@@ -11,8 +9,6 @@ expect open class B : A {
|
|||||||
expect override fun foo()
|
expect override fun foo()
|
||||||
expect open fun bar(s: String)
|
expect open fun bar(s: String)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class A {
|
abstract class A {
|
||||||
@@ -24,8 +20,6 @@ abstract class A {
|
|||||||
|
|
||||||
abstract fun foo()
|
abstract fun foo()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open class B : A {
|
open class B : A {
|
||||||
@@ -41,8 +35,5 @@ open class B : A {
|
|||||||
open fun bar(s: String) {
|
open fun bar(s: String) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-11
@@ -2,12 +2,6 @@ expect enum class MyEnum : Enum<MyEnum> {
|
|||||||
FOO
|
FOO
|
||||||
BAR
|
BAR
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
||||||
@@ -23,11 +17,6 @@ enum class MyEnum : Enum<MyEnum> {
|
|||||||
|
|
||||||
FOO init = TODO("IrEnumConstructorCall") BAR init = TODO("IrEnumConstructorCall") BAZ init = TODO("IrEnumConstructorCall")
|
FOO init = TODO("IrEnumConstructorCall") BAR init = TODO("IrEnumConstructorCall") BAZ init = TODO("IrEnumConstructorCall")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
||||||
|
|
||||||
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|||||||
-10
@@ -1,15 +1,11 @@
|
|||||||
expect sealed class Ops {
|
expect sealed class Ops {
|
||||||
private expect constructor() /* primary */
|
private expect constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
expect class Add : Ops {
|
expect class Add : Ops {
|
||||||
expect constructor() /* primary */
|
expect constructor() /* primary */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sealed class Ops {
|
sealed class Ops {
|
||||||
@@ -19,9 +15,6 @@ sealed class Ops {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Add : Ops {
|
class Add : Ops {
|
||||||
@@ -31,8 +24,5 @@ class Add : Ops {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,8 @@
|
|||||||
interface TestInterface<T : Any?> {
|
interface TestInterface<T : Any?> {
|
||||||
interface TestNestedInterface<TT : Any?> {
|
interface TestNestedInterface<TT : Any?> {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test<T0 : Any?> {
|
class Test<T0 : Any?> {
|
||||||
@@ -24,9 +19,6 @@ class Test<T0 : Any?> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inner class TestInner<T2 : Any?> {
|
inner class TestInner<T2 : Any?> {
|
||||||
@@ -36,13 +28,7 @@ class Test<T0 : Any?> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ class Test1<T1 : Any?, T2 : Any?> {
|
|||||||
field = y
|
field = y
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test2 {
|
class Test2 {
|
||||||
@@ -44,14 +41,8 @@ class Test2 {
|
|||||||
<this>.this/*TestInner*/<Z>(z = z)
|
<this>.this/*TestInner*/<Z>(z = z)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test3 {
|
class Test3 {
|
||||||
@@ -69,9 +60,6 @@ class Test3 {
|
|||||||
field = y
|
field = y
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test4<T : Any?> {
|
class Test4<T : Any?> {
|
||||||
@@ -89,8 +77,5 @@ class Test4<T : Any?> {
|
|||||||
this/*Test4*/<T>(x = x.plus(other = y))
|
this/*Test4*/<T>(x = x.plus(other = y))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-6
@@ -23,9 +23,6 @@ class Host {
|
|||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class InPrimaryCtor<T : Any?> {
|
class InPrimaryCtor<T : Any?> {
|
||||||
@@ -44,8 +41,5 @@ class InPrimaryCtor<T : Any?> {
|
|||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ interface IBase<T : Any?> {
|
|||||||
|
|
||||||
abstract fun <X : Any?> qux(t: T, x: X)
|
abstract fun <X : Any?> qux(t: T, x: X)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Test<TT : Any?> : IBase<TT> {
|
class Test<TT : Any?> : IBase<TT> {
|
||||||
@@ -30,8 +28,5 @@ class Test<TT : Any?> : IBase<TT> {
|
|||||||
return #$$delegate_0.<get-bar>()
|
return #$$delegate_0.<get-bar>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,5 @@ class Host {
|
|||||||
fun <T : Any?> String.testMembetExt2(i: Int, j: T) {
|
fun <T : Any?> String.testMembetExt2(i: Int, j: T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,7 @@ class Outer<T1 : Any?> {
|
|||||||
fun foo(x1: T1, x2: T2) {
|
fun foo(x1: T1, x2: T2) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,18 +2,14 @@ fun <TT : Any?> outer() {
|
|||||||
local fun <T : Any?> test1(i: Int, j: T) {
|
local fun <T : Any?> test1(i: Int, j: T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
local fun test2(i: Int = 0, j: String = "") {
|
local fun test2(i: Int = 0, j: String = "") {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
local fun test3(vararg args: String) {
|
local fun test3(vararg args: String) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
local fun String.textExt1(i: Int, j: TT) {
|
local fun String.textExt1(i: Int, j: TT) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -77,8 +77,5 @@ class Host<T : Any?> {
|
|||||||
set(value: Int) {
|
set(value: Int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-3
@@ -5,9 +5,6 @@ class Test1<T : U, U : Any?> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun <T : U, U : Any?> test2() {
|
fun <T : U, U : Any?> test2() {
|
||||||
|
|||||||
-13
@@ -5,9 +5,6 @@ abstract class Base1<T : Derived1> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Derived1 : Base1<Derived1> {
|
class Derived1 : Base1<Derived1> {
|
||||||
@@ -17,9 +14,6 @@ class Derived1 : Base1<Derived1> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class Base2 {
|
abstract class Base2 {
|
||||||
@@ -32,9 +26,6 @@ abstract class Base2 {
|
|||||||
fun <T : Derived2> foo(x: T) {
|
fun <T : Derived2> foo(x: T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Derived2 : Base2 {
|
class Derived2 : Base2 {
|
||||||
@@ -44,9 +35,5 @@ class Derived2 : Base2 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,5 @@ class Test {
|
|||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,5 @@ class C {
|
|||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-3
@@ -9,9 +9,6 @@ class MyClass {
|
|||||||
field = value
|
field = value
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ class Delegate {
|
|||||||
return <this>.<get-value>()
|
return <this>.<get-value>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class DelegateProvider {
|
class DelegateProvider {
|
||||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
|||||||
return Delegate(value = <this>.<get-value>())
|
return Delegate(value = <this>.<get-value>())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun foo() {
|
fun foo() {
|
||||||
@@ -45,6 +39,5 @@ fun foo() {
|
|||||||
return testMember$delegate.getValue(thisRef = null, property = ::testMember)
|
return testMember$delegate.getValue(thisRef = null, property = ::testMember)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-5
@@ -9,9 +9,6 @@ class MyClass {
|
|||||||
field = value
|
field = value
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
||||||
@@ -29,14 +26,12 @@ fun box(): String {
|
|||||||
return testO$delegate.getValue(receiver = null, p = ::testO)
|
return testO$delegate.getValue(receiver = null, p = ::testO)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
val testK: String
|
val testK: String
|
||||||
val testK$delegate: String = "K"
|
val testK$delegate: String = "K"
|
||||||
local get(): String {
|
local get(): String {
|
||||||
return testK$delegate.getValue(receiver = null, p = ::testK)
|
return testK$delegate.getValue(receiver = null, p = ::testK)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
val testOK: String = <get-testO>().plus(other = <get-testK>())
|
val testOK: String = <get-testO>().plus(other = <get-testK>())
|
||||||
return testOK
|
return testOK
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ class Delegate {
|
|||||||
return <this>.<get-value>()
|
return <this>.<get-value>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class DelegateProvider {
|
class DelegateProvider {
|
||||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
|||||||
return Delegate(value = <this>.<get-value>())
|
return Delegate(value = <this>.<get-value>())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Host {
|
class Host {
|
||||||
@@ -51,8 +45,5 @@ class Host {
|
|||||||
return #testMember$delegate.getValue(thisRef = <this>, property = ::testMember)
|
return #testMember$delegate.getValue(thisRef = <this>, property = ::testMember)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-6
@@ -20,9 +20,6 @@ object Host {
|
|||||||
return receiver.plus(other = <this>.<get-s>())
|
return receiver.plus(other = <this>.<get-s>())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
operator fun String.provideDelegate(host: Any?, p: Any): StringDelegate {
|
operator fun String.provideDelegate(host: Any?, p: Any): StringDelegate {
|
||||||
@@ -39,8 +36,5 @@ object Host {
|
|||||||
field = (<this>, "O").<get-plusK>()
|
field = (<this>, "O").<get-plusK>()
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user