KTIJ-26672 [AA] Correctly handle ConeAmbiguityError in KtFirImportOptimizer

Add a test case for missing call diagnostic just in case

^KTIJ-26672 Fixed
This commit is contained in:
Roman Golyshev
2023-08-16 17:57:33 +02:00
committed by teamcity
parent 033bb385b9
commit ef6e8ebb9b
8 changed files with 68 additions and 3 deletions
@@ -0,0 +1,12 @@
// FILE: main.kt
package test
fun test() {
withOverloads()
}
// FILE: dependency.kt
package dependency
fun withOverloads(i: Int) {}
fun withOverloads(i: String) {}
@@ -0,0 +1,13 @@
// FILE: main.kt
package test
import dependency.function
fun test() {
function
}
// FILE: dependency.kt
package dependency
fun function() {}