Egor Trutenko
10/08/2018, 8:49 AMval myClass = MyClass(listOf(
Transition(Pair(Status.X, Status.Y),
beforeTransition = asList(this::fun1),
afterTransition = asList()
)
But instead you move it to class definition. There is no access to inner state (this
keyword) from the outside, why there should be such indulgence for default parameters?