Add extra diagnostic information when no common supertypes are found
We're suspecting that the culprit of such errors is race condition on 'supertypes' in AbstractTypeConstructor, when it is created using 'LockBasedStorageManager.NO_LOCKS'
This commit is contained in:
@@ -76,4 +76,6 @@ abstract class AbstractTypeConstructor(storageManager: StorageManager) : TypeCon
|
||||
protected open fun getAdditionalNeighboursInSupertypeGraph(useCompanions: Boolean): Collection<KotlinType> = emptyList()
|
||||
protected open fun defaultSupertypeIfEmpty(): KotlinType? = null
|
||||
|
||||
// Only for debugging
|
||||
fun renderAdditionalDebugInformation(): String = "supertypes=${supertypes.renderDebugInformation()}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user