[IR] update testdata
This commit is contained in:
committed by
teamcityserver
parent
6a1ab1b325
commit
fc5c674c60
@@ -57,12 +57,12 @@ private val registrationMap: HashMap<Type, Any>
|
||||
private get
|
||||
|
||||
fun resolveClashesIfAny(container: ComponentContainer, clashResolvers: List<PlatformExtensionsClashResolver<*>>) {
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
val tmp0_iterator: Iterator<PlatformExtensionsClashResolver<*>> = clashResolvers.iterator()
|
||||
while (tmp0_iterator.hasNext()) { //BLOCK
|
||||
while (tmp0_iterator.hasNext()) { // BLOCK
|
||||
val resolver: PlatformExtensionsClashResolver<*> = tmp0_iterator.next()
|
||||
{ //BLOCK
|
||||
val clashedComponents: Collection<ComponentDescriptor> = { //BLOCK
|
||||
{ // BLOCK
|
||||
val clashedComponents: Collection<ComponentDescriptor> = { // BLOCK
|
||||
val tmp1_elvis_lhs: Collection<ComponentDescriptor>? = <get-registrationMap>().get(key = resolver.<get-applicableTo>()) as? Collection<ComponentDescriptor>
|
||||
when {
|
||||
EQEQ(arg0 = tmp1_elvis_lhs, arg1 = null) -> continue
|
||||
|
||||
@@ -65,13 +65,13 @@ class DeepCopyIrTreeWithSymbols {
|
||||
}
|
||||
))
|
||||
withinScope<Unit>($receiver = <this>.<get-typeRemapper>(), irTypeParametersContainer = <this>, fn = local fun <anonymous>() {
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
val tmp0_iterator: Iterator<Pair<IrTypeParameter, IrTypeParameter>> = zip<IrTypeParameter, IrTypeParameter>($receiver = <this>.<get-typeParameters>(), other = other.<get-typeParameters>()).iterator()
|
||||
while (tmp0_iterator.hasNext()) { //BLOCK
|
||||
while (tmp0_iterator.hasNext()) { // BLOCK
|
||||
val tmp1_loop_parameter: Pair<IrTypeParameter, IrTypeParameter> = tmp0_iterator.next()
|
||||
val thisTypeParameter: IrTypeParameter = tmp1_loop_parameter.component1()
|
||||
val otherTypeParameter: IrTypeParameter = tmp1_loop_parameter.component2()
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
mapTo<IrType, IrType, MutableList<IrType>>($receiver = otherTypeParameter.<get-superTypes>(), destination = thisTypeParameter.<get-superTypes>(), transform = local fun <anonymous>(it: IrType): IrType {
|
||||
return <this>.<get-typeRemapper>().remapType(type = it)
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fun box(): String {
|
||||
val obj: <no name provided> = { //BLOCK
|
||||
val obj: <no name provided> = { // BLOCK
|
||||
local class <no name provided> {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
|
||||
@@ -12,7 +12,7 @@ class Some {
|
||||
|
||||
init {
|
||||
when {
|
||||
less(arg0 = <this>.<get-foo>(), arg1 = 0) -> { //BLOCK
|
||||
less(arg0 = <this>.<get-foo>(), arg1 = 0) -> { // BLOCK
|
||||
<this>.<set-foo>(<set-?> = 0)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ fun foo(candidate: Candidate) {
|
||||
when {
|
||||
me is FirCallableMemberDeclaration<*> -> EQEQ(arg0 = me /*as FirCallableMemberDeclaration<out FirCallableMemberDeclaration<*>> */.<get-symbol>(), arg1 = null).not()
|
||||
true -> false
|
||||
} -> { //BLOCK
|
||||
} -> { // BLOCK
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ private const val BACKSLASH: Char
|
||||
private get
|
||||
|
||||
private fun Reader.nextChar(): Char? {
|
||||
return { //BLOCK
|
||||
return { // BLOCK
|
||||
val tmp0_safe_receiver: Int? = takeUnless<Int>($receiver = <this>.read(), predicate = local fun <anonymous>(it: Int): Boolean {
|
||||
return EQEQ(arg0 = it, arg1 = -1)
|
||||
}
|
||||
@@ -20,9 +20,9 @@ fun Reader.consumeRestOfQuotedSequence(sb: StringBuilder, quote: Char) {
|
||||
while (when {
|
||||
EQEQ(arg0 = ch, arg1 = null).not() -> EQEQ(arg0 = ch, arg1 = quote).not()
|
||||
true -> false
|
||||
}) { //BLOCK
|
||||
}) { // BLOCK
|
||||
when {
|
||||
EQEQ(arg0 = ch, arg1 = <get-BACKSLASH>()) -> { //BLOCK
|
||||
EQEQ(arg0 = ch, arg1 = <get-BACKSLASH>()) -> { // BLOCK
|
||||
val tmp0_safe_receiver: Char? = nextChar($receiver = <this>)
|
||||
when {
|
||||
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
|
||||
|
||||
Reference in New Issue
Block a user