FIR: rename AMBIGUITY to OVERLOAD_RESOLUTION_AMBIGUITY to match FE 1.0
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ fun test_2(a: A<C>) {
|
||||
}
|
||||
|
||||
fun test_3(a: A<D>) {
|
||||
a[0] <!AMBIGUITY!>+=<!> D() // ambiguity
|
||||
a[0] <!OVERLOAD_RESOLUTION_AMBIGUITY!>+=<!> D() // ambiguity
|
||||
}
|
||||
|
||||
fun test_4(b: B) {
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ fun test(c: C) {
|
||||
<!INAPPLICABLE_CANDIDATE!>foo<!>("")
|
||||
|
||||
// Ambiguity
|
||||
<!AMBIGUITY!>bar<!>(c)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>bar<!>(c)
|
||||
|
||||
// Unresolved reference
|
||||
<!UNRESOLVED_REFERENCE!>baz<!>()
|
||||
|
||||
@@ -10,7 +10,7 @@ open class A3(x: String, y: String = "") {
|
||||
constructor(x: String, b: Boolean = true) : this(x, x)
|
||||
}
|
||||
|
||||
class B3_1 : <!AMBIGUITY!>A3<!>("")
|
||||
class B3_1 : <!OVERLOAD_RESOLUTION_AMBIGUITY!>A3<!>("")
|
||||
class B3_2 : A3("", "asas")
|
||||
class B3_3 : A3("", true)
|
||||
class B3_4 : <!NONE_APPLICABLE!>A3<!>("", Unit)
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ fun test_2(x: B) {
|
||||
}
|
||||
|
||||
fun test_3(x: C) {
|
||||
val error = x.<!AMBIGUITY!>vmParameters<!> // should be error
|
||||
val error = x.<!OVERLOAD_RESOLUTION_AMBIGUITY!>vmParameters<!> // should be error
|
||||
val int = x.<!UNRESOLVED_REFERENCE!>vMParameters<!> // should be error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user