K2: Add new tests for PCLA implementation
Many of them have been found & minimized at FP tests/user projects ^KT-59791 Fixed
This commit is contained in:
committed by
Space Team
parent
90feeab076
commit
7e4d9d9f64
+22
@@ -0,0 +1,22 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-38667
|
||||
|
||||
interface PropKey<T1>
|
||||
abstract class AnimationBuilder<T2>
|
||||
class TransitionSpec<S> {
|
||||
fun <E> tween(init: AnimationBuilder<E>.() -> Unit): AnimationBuilder<E> = TODO()
|
||||
fun <F> PropKey<F>.using(builder: AnimationBuilder<F>) {}
|
||||
}
|
||||
class TransitionDefinition<X> {
|
||||
fun transition(fromState: X, init: TransitionSpec<X>.() -> Unit) {}
|
||||
}
|
||||
|
||||
fun <T3> transitionDefinition(init: TransitionDefinition<T3>.() -> Unit) {}
|
||||
|
||||
fun main(intProp: PropKey<Int>, w: Int) {
|
||||
transitionDefinition {
|
||||
transition(w) {
|
||||
intProp.using(tween {})
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user