analyze all arguments with unknown expected type

in the beginning of call resolution process
This commit is contained in:
Svetlana Isakova
2013-08-16 18:32:20 +04:00
parent c8fc2c882d
commit 30b0a72c6b
5 changed files with 25 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ fun test() : Int {
}
class A() {
val x : Int = <!TYPE_MISMATCH!>foo1(<!TOO_MANY_ARGUMENTS, UNRESOLVED_REFERENCE!>xx<!>)<!>
val x : Int = <!TYPE_MISMATCH!>foo1(<!UNRESOLVED_REFERENCE, TOO_MANY_ARGUMENTS!>xx<!>)<!>
}
fun foo1() {}