Added test for obsolete bug and removed workaround in code.

This commit is contained in:
Evgeny Gerashchenko
2015-04-07 21:10:42 +03:00
parent 015da2f8ca
commit eeeb741d42
6 changed files with 71 additions and 8 deletions
@@ -0,0 +1,19 @@
trait A
trait B
fun <R: A> R.f() {
}
fun <R: B> R.f() {
}
class AImpl: A
class BImpl: B
class C: A, B
fun main(args: Array<String>) {
AImpl().f()
BImpl().f()
C().<!CANNOT_COMPLETE_RESOLVE!>f<!>()
}