// "Create class 'Foo'" "true" // ERROR: Type inference failed:
constructor Foo<U>(u: U)
cannot be applied to
(U)
// ERROR: Type mismatch.
Required:U
Found:U
class A(val n: T) { inner class Foo(u: U) { } } fun test(u: U) { val a = A(u).Foo(u) }