[IR] update testdata after using maxBlankLines=1 for Printer
This commit is contained in:
committed by
teamcityserver
parent
6e318893f6
commit
602f0ddbc8
Vendored
-9
@@ -4,9 +4,6 @@ annotation class A1 : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A2 : Annotation {
|
||||
@@ -15,9 +12,6 @@ annotation class A2 : Annotation {
|
||||
field = a
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class AA : Annotation {
|
||||
@@ -26,9 +20,6 @@ annotation class AA : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A2(a = A1(x = 42))
|
||||
|
||||
-7
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
interface IFoo {
|
||||
@@ -19,8 +17,6 @@ interface IFoo {
|
||||
@Ann
|
||||
abstract fun String.testExtFun()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DFoo : IFoo {
|
||||
@@ -51,8 +47,5 @@ class DFoo : IFoo {
|
||||
return #$$delegate_0.<get-testVal>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-3
@@ -8,9 +8,6 @@ annotation class A : Annotation {
|
||||
field = y
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(x = "abc", y = 123)
|
||||
|
||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(xs = ["abc", "def"])
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnnWithIntArray : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class TestAnnWithStringArray : Annotation {
|
||||
@@ -15,9 +12,6 @@ annotation class TestAnnWithStringArray : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnnWithIntArray(x = [1, 2, 3])
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = klass
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class C {
|
||||
@@ -16,9 +13,6 @@ class C {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(klass = C::class)
|
||||
|
||||
-26
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "class")
|
||||
@@ -17,16 +14,11 @@ class TestClass {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "interface")
|
||||
interface TestInterface {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "object")
|
||||
@@ -37,9 +29,6 @@ object TestObject {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Host {
|
||||
@@ -57,14 +46,8 @@ class Host {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "enum")
|
||||
@@ -75,13 +58,6 @@ enum class TestEnum : Enum<TestEnum> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
||||
@@ -92,7 +68,5 @@ enum class TestEnum : Enum<TestEnum> {
|
||||
annotation class TestAnnotation : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-3
@@ -8,9 +8,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(x = 1)
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class TestClass {
|
||||
@@ -22,8 +19,5 @@ class TestClass {
|
||||
this/*TestClass*/()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-2
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: Int /* by */
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Cell {
|
||||
@@ -29,9 +26,6 @@ class Cell {
|
||||
<this>.<set-value>(<set-?> = newValue)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: Int /* by */
|
||||
|
||||
-8
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
open enum class TestEnum : Enum<TestEnum> {
|
||||
@@ -20,11 +17,6 @@ open enum class TestEnum : Enum<TestEnum> {
|
||||
ENTRY1 init = TODO("IrEnumConstructorCall") @TestAnn(x = "ENTRY2")
|
||||
ENTRY2 init = TODO("IrEnumConstructorCall")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
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")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
|
||||
@@ -24,9 +19,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = En)
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val testVal: String
|
||||
|
||||
@@ -8,8 +8,5 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = 42)
|
||||
|
||||
Vendored
-4
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-6
@@ -1,22 +1,16 @@
|
||||
annotation class A1 : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A2 : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A3 : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A1
|
||||
|
||||
-5
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test {
|
||||
@@ -16,8 +14,5 @@ class Test {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "testVal.property")
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class C {
|
||||
@@ -28,8 +25,5 @@ class C {
|
||||
@A(x = "C.y.set")
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: String
|
||||
|
||||
Vendored
-5
@@ -1,8 +1,6 @@
|
||||
annotation class AnnParam : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
var p: Int
|
||||
@@ -22,8 +20,5 @@ class C {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-5
@@ -1,8 +1,6 @@
|
||||
annotation class Ann : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class A {
|
||||
@@ -21,9 +19,6 @@ class A {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun String?.topLevelF(): String {
|
||||
|
||||
Vendored
-3
@@ -4,9 +4,6 @@ annotation class A : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A(xs = [["a"], ["b"]])
|
||||
|
||||
-3
@@ -5,9 +5,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = "TestTypeAlias")
|
||||
|
||||
-2
@@ -2,8 +2,6 @@
|
||||
annotation class Anno : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun <@Anno T : Any?> foo() {
|
||||
|
||||
-6
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun testFun(x: Int) {
|
||||
@@ -23,8 +20,5 @@ class TestClassConstructor1 {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-9
@@ -4,9 +4,6 @@ annotation class A1 : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class A2 : Annotation {
|
||||
@@ -15,9 +12,6 @@ annotation class A2 : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
annotation class AA : Annotation {
|
||||
@@ -26,9 +20,6 @@ annotation class AA : Annotation {
|
||||
field = xs
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@A1(xs = [1, 2, 3])
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ annotation class TestAnn : Annotation {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
|
||||
@@ -53,8 +53,5 @@ class C {
|
||||
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) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -36,9 +36,6 @@ class C {
|
||||
return #test3$delegate.setValue<Any>(thisRef = <this>, property = ::test3, value = <set-?>)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
var test4: Any /* by */
|
||||
|
||||
@@ -29,8 +29,5 @@ class Host {
|
||||
set(value: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,17 +1,12 @@
|
||||
interface IFooStr {
|
||||
abstract fun foo(x: String)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
interface IBar {
|
||||
abstract val bar: Int
|
||||
abstract get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
abstract class CFoo<T : Any?> {
|
||||
@@ -24,9 +19,6 @@ abstract class CFoo<T : Any?> {
|
||||
fun foo(x: T) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test1 : CFoo<String>, IFooStr, IBar {
|
||||
@@ -40,9 +32,5 @@ class Test1 : CFoo<String>, IFooStr, IBar {
|
||||
field = 42
|
||||
override get
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@ class C<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
object Delegate {
|
||||
@@ -24,9 +21,6 @@ object Delegate {
|
||||
operator fun setValue(thisRef: Any?, kProp: Any?, newValue: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
var <T : Any?> C<T>.genericDelegatedProperty: Int /* by */
|
||||
|
||||
@@ -18,8 +18,5 @@ interface C {
|
||||
set(value: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -15,8 +15,5 @@ object Definitions {
|
||||
field = #CONSTANT
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -4,9 +4,6 @@ interface I {
|
||||
return <this>
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class A : I {
|
||||
@@ -22,8 +19,5 @@ class A : I {
|
||||
return (#$$delegate_0, <this>).<get-id><T>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -14,12 +14,8 @@ fun outer() {
|
||||
abstract get
|
||||
abstract set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
local class Local : ALocal {
|
||||
constructor() /* primary */ {
|
||||
super/*ALocal*/()
|
||||
@@ -39,11 +35,7 @@ fun outer() {
|
||||
override get
|
||||
override set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ fun test1() {
|
||||
return x$delegate.getValue<Int>(thisRef = null, property = ::x)
|
||||
}
|
||||
|
||||
|
||||
println(message = <get-x>())
|
||||
}
|
||||
|
||||
@@ -22,7 +21,6 @@ fun test2() {
|
||||
return x$delegate.setValue<Int>(thisRef = null, property = ::x, value = value)
|
||||
}
|
||||
|
||||
|
||||
<set-x>(value = 0)
|
||||
{ // BLOCK
|
||||
val tmp0: Int = <get-x>()
|
||||
|
||||
-9
@@ -2,8 +2,6 @@ expect abstract class A {
|
||||
protected expect constructor() /* primary */
|
||||
expect abstract fun foo()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
expect open class B : A {
|
||||
@@ -11,8 +9,6 @@ expect open class B : A {
|
||||
expect override fun foo()
|
||||
expect open fun bar(s: String)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
abstract class A {
|
||||
@@ -24,8 +20,6 @@ abstract class A {
|
||||
|
||||
abstract fun foo()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
open class B : A {
|
||||
@@ -41,8 +35,5 @@ open class B : A {
|
||||
open fun bar(s: String) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-11
@@ -2,12 +2,6 @@ expect enum class MyEnum : Enum<MyEnum> {
|
||||
FOO
|
||||
BAR
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
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")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
-10
@@ -1,15 +1,11 @@
|
||||
expect sealed class Ops {
|
||||
private expect constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
expect class Add : Ops {
|
||||
expect constructor() /* primary */
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
sealed class Ops {
|
||||
@@ -19,9 +15,6 @@ sealed class Ops {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Add : Ops {
|
||||
@@ -31,8 +24,5 @@ class Add : Ops {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
interface TestInterface<T : Any?> {
|
||||
interface TestNestedInterface<TT : Any?> {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test<T0 : Any?> {
|
||||
@@ -24,9 +19,6 @@ class Test<T0 : 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
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test2 {
|
||||
@@ -44,14 +41,8 @@ class Test2 {
|
||||
<this>.this/*TestInner*/<Z>(z = z)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test3 {
|
||||
@@ -69,9 +60,6 @@ class Test3 {
|
||||
field = y
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test4<T : Any?> {
|
||||
@@ -89,8 +77,5 @@ class Test4<T : Any?> {
|
||||
this/*Test4*/<T>(x = x.plus(other = y))
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-6
@@ -23,9 +23,6 @@ class Host {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class InPrimaryCtor<T : Any?> {
|
||||
@@ -44,8 +41,5 @@ class InPrimaryCtor<T : Any?> {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ interface IBase<T : Any?> {
|
||||
|
||||
abstract fun <X : Any?> qux(t: T, x: X)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Test<TT : Any?> : IBase<TT> {
|
||||
@@ -30,8 +28,5 @@ class Test<TT : Any?> : IBase<TT> {
|
||||
return #$$delegate_0.<get-bar>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -23,8 +23,5 @@ class Host {
|
||||
fun <T : Any?> String.testMembetExt2(i: Int, j: T) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -15,13 +15,7 @@ class Outer<T1 : Any?> {
|
||||
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 test2(i: Int = 0, j: String = "") {
|
||||
}
|
||||
|
||||
|
||||
local fun test3(vararg args: String) {
|
||||
}
|
||||
|
||||
|
||||
local fun String.textExt1(i: Int, j: TT) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -77,8 +77,5 @@ class Host<T : Any?> {
|
||||
set(value: Int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -5,9 +5,6 @@ class Test1<T : U, U : Any?> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun <T : U, U : Any?> test2() {
|
||||
|
||||
-13
@@ -5,9 +5,6 @@ abstract class Base1<T : Derived1> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Derived1 : Base1<Derived1> {
|
||||
@@ -17,9 +14,6 @@ class Derived1 : Base1<Derived1> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
abstract class Base2 {
|
||||
@@ -32,9 +26,6 @@ abstract class Base2 {
|
||||
fun <T : Derived2> foo(x: T) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Derived2 : Base2 {
|
||||
@@ -44,9 +35,5 @@ class Derived2 : Base2 {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -9,8 +9,5 @@ class Test {
|
||||
field = x
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -14,8 +14,5 @@ class C {
|
||||
get
|
||||
set
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -9,9 +9,6 @@ class MyClass {
|
||||
field = value
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
||||
|
||||
@@ -13,9 +13,6 @@ class Delegate {
|
||||
return <this>.<get-value>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DelegateProvider {
|
||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
||||
return Delegate(value = <this>.<get-value>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
@@ -45,6 +39,5 @@ fun foo() {
|
||||
return testMember$delegate.getValue(thisRef = null, property = ::testMember)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-5
@@ -9,9 +9,6 @@ class MyClass {
|
||||
field = value
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
operator fun MyClass.provideDelegate(host: Any?, p: Any): String {
|
||||
@@ -29,14 +26,12 @@ fun box(): String {
|
||||
return testO$delegate.getValue(receiver = null, p = ::testO)
|
||||
}
|
||||
|
||||
|
||||
val testK: String
|
||||
val testK$delegate: String = "K"
|
||||
local get(): String {
|
||||
return testK$delegate.getValue(receiver = null, p = ::testK)
|
||||
}
|
||||
|
||||
|
||||
val testOK: String = <get-testO>().plus(other = <get-testK>())
|
||||
return testOK
|
||||
}
|
||||
|
||||
@@ -13,9 +13,6 @@ class Delegate {
|
||||
return <this>.<get-value>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DelegateProvider {
|
||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
||||
return Delegate(value = <this>.<get-value>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Host {
|
||||
@@ -51,8 +45,5 @@ class Host {
|
||||
return #testMember$delegate.getValue(thisRef = <this>, property = ::testMember)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
-6
@@ -20,9 +20,6 @@ object Host {
|
||||
return receiver.plus(other = <this>.<get-s>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
operator fun String.provideDelegate(host: Any?, p: Any): StringDelegate {
|
||||
@@ -39,8 +36,5 @@ object Host {
|
||||
field = (<this>, "O").<get-plusK>()
|
||||
get
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -13,9 +13,6 @@ class Delegate {
|
||||
return <this>.<get-value>()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
class DelegateProvider {
|
||||
@@ -33,9 +30,6 @@ class DelegateProvider {
|
||||
return Delegate(value = <this>.<get-value>())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val testTopLevel: String /* by */
|
||||
|
||||
@@ -14,7 +14,5 @@ class C {
|
||||
@Suppress(names = ["TOPLEVEL_TYPEALIASES_ONLY"])
|
||||
typealias TestNested = String
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user