[IR] update testdata: support for IrDelegatingConstructorCall

This commit is contained in:
Zalim Bashorov
2020-11-06 02:24:57 +03:00
committed by teamcityserver
parent 84d6e43590
commit b518c19b38
198 changed files with 393 additions and 390 deletions
@@ -1,6 +1,6 @@
class MyMap<K : Any, V : Any> : AbstractMutableMap<K, V> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*AbstractMutableMap*/<K, V>()
/* InstanceInitializerCall */
}
@@ -1,6 +1,6 @@
class ResolvedCall<C : Any?> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -12,7 +12,7 @@ class ResolvedCall<C : Any?> {
class MyCandidate {
constructor(resolvedCall: ResolvedCall<*>) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -27,7 +27,7 @@ annotation class State : Annotation {
@State(name = "1", storages = [Storage(value = "HELLO")])
class Test {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -1,6 +1,6 @@
abstract class BaseFirBuilder<T : Any?> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -18,7 +18,7 @@ interface ComponentDescriptor {
abstract class PlatformExtensionsClashResolver<E : PlatformSpecificExtension<E>> {
constructor(applicableTo: Class<E>) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -34,7 +34,7 @@ abstract class PlatformExtensionsClashResolver<E : PlatformSpecificExtension<E>>
class ClashResolutionDescriptor<E : PlatformSpecificExtension<E>> {
constructor(container: ComponentContainer, resolver: PlatformExtensionsClashResolver<E>, clashedComponents: List<ComponentDescriptor>) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -46,7 +46,7 @@ interface IrDeclarationParent {
class DeepCopyIrTreeWithSymbols {
constructor(typeRemapper: TypeRemapper) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -1,6 +1,6 @@
class Impl : A, B {
constructor(b: B) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
+2 -2
View File
@@ -1,6 +1,6 @@
open class BaseConverter : BaseFirBuilder<Any> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*BaseFirBuilder*/<Any>()
/* InstanceInitializerCall */
}
@@ -13,7 +13,7 @@ open class BaseConverter : BaseFirBuilder<Any> {
class DeclarationsConverter : BaseConverter {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*BaseConverter*/()
/* InstanceInitializerCall */
}
@@ -2,7 +2,7 @@ fun box(): String {
val obj: <no name provided> = { // BLOCK
local class <no name provided> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -17,7 +17,7 @@ fun box(): String {
local inner class Some : Base {
constructor(s: String) /* primary */ {
TODO("IrDelegatingConstructorCall")
<this>.super/*Base*/(s = s)
/* InstanceInitializerCall */
}
@@ -33,7 +33,7 @@ fun box(): String {
local open inner class Base {
constructor(s: String) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
+3 -3
View File
@@ -1,6 +1,6 @@
data class Some<T : Any?> {
constructor(value: T) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -69,7 +69,7 @@ interface MyList<T : Any?> : List<Some<T>> {
open class SomeList<T : Any?> : MyList<T>, ArrayList<Some<T>> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*ArrayList*/<@FlexibleNullability Some<T>?>()
/* InstanceInitializerCall */
}
@@ -114,7 +114,7 @@ open class SomeList<T : Any?> : MyList<T>, ArrayList<Some<T>> {
class FinalList : SomeList<String> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*SomeList*/<String>()
/* InstanceInitializerCall */
}
@@ -1,7 +1,7 @@
typealias Some = Function1<Any, String?>
object Factory {
private constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -41,7 +41,7 @@ interface Derived : Delegate {
data class DataClass : Derived, Delegate {
constructor(delegate: Delegate) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
+1 -1
View File
@@ -1,6 +1,6 @@
class Some {
constructor(foo: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -1,6 +1,6 @@
class Candidate {
constructor(symbol: AbstractFirBasedSymbol<*>) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -16,7 +16,7 @@ class Candidate {
abstract class AbstractFirBasedSymbol<E> where E : FirSymbolOwner<E>, E : FirDeclaration {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
+1 -1
View File
@@ -1,6 +1,6 @@
class Owner {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -1,6 +1,6 @@
class V8Array {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}