added 'hasErrorInConstrainingTypes'

not to report type inference error in such cases
This commit is contained in:
Svetlana Isakova
2012-07-11 22:29:12 +04:00
parent fb3c80d98c
commit fd04717ecc
2 changed files with 12 additions and 2 deletions
@@ -0,0 +1,8 @@
package n
fun foo<T>(<!UNUSED_PARAMETER!>t<!>: T, <!UNUSED_PARAMETER!>t1<!>: T) {}
fun test() {
//no type inference error
foo(<!UNRESOLVED_REFERENCE!>aaab<!>, <!UNRESOLVED_REFERENCE!>bbb<!>)
}