[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION

This commit is contained in:
Nick
2020-08-05 09:35:10 +03:00
parent 36984009e9
commit 4669e019d1
72 changed files with 681 additions and 247 deletions
@@ -18,7 +18,7 @@ class Case2() {
fun foo(vararg x: Int?): Unit = TODO() // (1.2)
fun case(){
foo(1, 1)
<!AMBIGUITY!>foo<!>(1, 1)
}
}
// TESTCASE NUMBER: 3
@@ -27,7 +27,7 @@ class Case3() {
fun foo(vararg x: Int?): Unit = TODO() // (1.2)
fun case(){
foo(1, 1)
<!AMBIGUITY!>foo<!>(1, 1)
}
}