KT-45777: Clean up handling around LookupSymbols and ProgramSymbols
Make it clearer and more efficient. ^KT-45777 In Progress
This commit is contained in:
+2
-2
@@ -444,8 +444,8 @@ private fun computeClasspathChanges(
|
||||
/** Adapted version of [ChangesEither.Known] for readability in this test. */
|
||||
private data class Changes(val lookupSymbols: Set<LookupSymbol>, val fqNames: Set<String>)
|
||||
|
||||
private fun ChangeSet.normalize(): Changes {
|
||||
val changes: ChangesEither.Known = getChanges()
|
||||
private fun ProgramSymbolSet.normalize(): Changes {
|
||||
val changes: ChangesEither.Known = toChangesEither()
|
||||
return Changes(changes.lookupSymbols.toSet(), changes.fqNames.map { it.asString() }.toSet())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user