robstoll
01/12/2019, 6:45 PMfirst: T, vararg others: T
. For instance:
fun <E : Any, T : Iterable<E>> Assert<T>.contains(expected: E, vararg otherExpected: E)
The intention behind it: this way one has to pass at least one argument (compiler is not happy otherwise). I would like to know what you experienced so far:
1️⃣ it was helpful
2️⃣ it is confusing/makes things more complicatedcharleskorn
01/13/2019, 2:26 AM