Support DNN types in approximator

Mostly, it's relevant to FIR since there we started loading
type parameter based types as (T & Any..T?)
This commit is contained in:
Denis.Zharkov
2022-05-12 15:19:50 +03:00
committed by teamcity
parent 9f7876efb6
commit c018270462
8 changed files with 60 additions and 2 deletions
@@ -0,0 +1,31 @@
// FIR_IDENTICAL
// SKIP_TXT
// FILE: TSFBuilder.java
public abstract class TSFBuilder<F extends CharSequence, B extends TSFBuilder<F,B>> {
public B configure() { return null; }
public abstract F build();
public static TSFBuilder<?, ?> start() { return null; }
}
// FILE: test.kt
fun foo(x: CharSequence?) {}
fun main() {
foo(
TSFBuilder.start()
.configure()
.configure()
.configure()
.configure()
.configure()
.configure()
.configure()
.configure()
.configure()
.configure()
.configure()
.build()
)
}
File diff suppressed because one or more lines are too long