Minor: explicitly opt-in for diagnostics messages in MultiplatformAnalysisTests
This commit is contained in:
+1
-1
@@ -12,5 +12,5 @@ fun take2(x: A): DD = null!!
|
||||
fun take4(x: A): DD = null!!
|
||||
|
||||
fun test(x: A) {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY(" public fun take4(x: A): AA defined in sample in file common-1.kt public fun take4(x: A): DD defined in sample in file common-2-3.kt")!>take4<!>(x)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>take4<!>(x)
|
||||
}
|
||||
@@ -16,10 +16,10 @@ fun take0(x: D): Unit = null!!
|
||||
|
||||
fun test_1(x: D) {
|
||||
val res0: Unit = take0(x)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY(" public fun take1(x: A): AA defined in sample in file common-1.kt public fun take1(x: A): DD defined in sample in file common-2-3.kt public fun take1(x: B): BB defined in sample in file common-2-1.kt public fun take1(x: C): CC defined in sample in file common-2-2.kt")!>take1<!>(x)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>take1<!>(x)
|
||||
val res2: BB = take2(x)
|
||||
val res3: BB = take3(x)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY(" public fun take4(x: A): AA defined in sample in file common-1.kt public fun take4(x: A): DD defined in sample in file common-2-3.kt")!>take4<!>(x)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>take4<!>(x)
|
||||
}
|
||||
|
||||
fun test_2() {
|
||||
|
||||
Reference in New Issue
Block a user