Merge pull request #112 from udalov/kt2541
KT-2541 VerifyError on substituting type after inheritance from trait
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user