robstoll
05/02/2018, 9:21 PMorangy
robstoll
05/02/2018, 10:10 PMrobstoll
05/02/2018, 10:13 PMrobstoll
05/02/2018, 10:19 PM@Marker
class A<T> { fun bar(t: T) {} }
fun <T> A<T>.foo(a: A<T>.() -> Unit) {}
fun test() {
A<Int>().foo {
A<Float>().foo {
bar(1.2f)
}
foo { bar(1) }
}
}
where should the colours apply?robstoll
05/02/2018, 10:19 PMorangy
orangy
robstoll
05/03/2018, 9:28 AMorangy
robstoll
05/03/2018, 11:05 AMorangy