Merge pull request #112 from udalov/kt2541

KT-2541 VerifyError on substituting type after inheritance from trait
This commit is contained in:
Alex Tkachman
2012-07-27 22:29:02 -07:00
3 changed files with 13 additions and 0 deletions
@@ -0,0 +1,7 @@
trait A<T, U> {
fun foo(t: T, u: U) = "OK"
}
class B<T> : A<T, Int>
fun box(): String = B<Int>().foo(1, 2)