[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
@@ -1,32 +1,8 @@
|
||||
interface ComponentContainer {
|
||||
}
|
||||
|
||||
interface PlatformSpecificExtension<S : PlatformSpecificExtension<S>> {
|
||||
}
|
||||
|
||||
interface ComponentDescriptor {
|
||||
}
|
||||
|
||||
abstract class PlatformExtensionsClashResolver<E : PlatformSpecificExtension<E>> {
|
||||
constructor(applicableTo: Class<E>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val applicableTo: Class<E>
|
||||
field = applicableTo
|
||||
get
|
||||
|
||||
}
|
||||
private val registrationMap: HashMap<Type, Any>
|
||||
field = hashMapOf<Type, Any>()
|
||||
private get
|
||||
|
||||
class ClashResolutionDescriptor<E : PlatformSpecificExtension<E>> {
|
||||
constructor(container: ComponentContainer, resolver: PlatformExtensionsClashResolver<E>, clashedComponents: List<ComponentDescriptor>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
private val resolver: PlatformExtensionsClashResolver<E>
|
||||
field = resolver
|
||||
private get
|
||||
@@ -35,11 +11,35 @@ class ClashResolutionDescriptor<E : PlatformSpecificExtension<E>> {
|
||||
field = clashedComponents
|
||||
private get
|
||||
|
||||
constructor(container: ComponentContainer, resolver: PlatformExtensionsClashResolver<E>, clashedComponents: List<ComponentDescriptor>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private val registrationMap: HashMap<Type, Any>
|
||||
field = hashMapOf<Type, Any>()
|
||||
private get
|
||||
abstract class PlatformExtensionsClashResolver<E : PlatformSpecificExtension<E>> {
|
||||
val applicableTo: Class<E>
|
||||
field = applicableTo
|
||||
get
|
||||
|
||||
constructor(applicableTo: Class<E>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface ComponentContainer {
|
||||
}
|
||||
|
||||
interface ComponentDescriptor {
|
||||
}
|
||||
|
||||
interface PlatformSpecificExtension<S : PlatformSpecificExtension<S>> {
|
||||
}
|
||||
|
||||
fun resolveClashesIfAny(container: ComponentContainer, clashResolvers: List<PlatformExtensionsClashResolver<*>>) {
|
||||
{ // BLOCK
|
||||
@@ -59,3 +59,4 @@ fun resolveClashesIfAny(container: ComponentContainer, clashResolvers: List<Plat
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user