Fix incorrect builder inference usage
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ object KtDeclarationAndFirDeclarationEqualityChecker {
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalStdlibApi::class)
|
||||
private val classIdToName: Map<String, String> = buildList {
|
||||
private val classIdToName: Map<String, String> = buildList<Pair<String, String>> {
|
||||
StandardClassIds.primitiveArrayTypeByElementType.mapTo(this) { (classId, arrayClassId) ->
|
||||
classId.asString().replace('/', '.') to arrayClassId.asString().replace('/', '.')
|
||||
}
|
||||
|
||||
+1
-1
@@ -162,7 +162,7 @@ internal class KtFirScopeProvider(
|
||||
val firLocalScopes = towerDataContext.localScopes
|
||||
|
||||
@OptIn(ExperimentalStdlibApi::class)
|
||||
val allKtScopes = buildList {
|
||||
val allKtScopes = buildList<KtScope> {
|
||||
implicitReceiverScopes.mapTo(this, ::convertToKtScope)
|
||||
nonLocalScopes.mapTo(this, ::convertToKtScope)
|
||||
firLocalScopes.mapTo(this, ::convertToKtScope)
|
||||
|
||||
Reference in New Issue
Block a user