[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
package Hello
|
||||
|
||||
open class Base<T>
|
||||
class StringBase : Base<String>()
|
||||
|
||||
class Client<T, X: Base<T>>(x: X)
|
||||
|
||||
fun test() {
|
||||
val c = Client(StringBase()) // Type inference fails here for T.
|
||||
val i : Int = c
|
||||
}
|
||||
Reference in New Issue
Block a user