https://kotlinlang.org logo
k

karelpeeters

09/23/2018, 1:53 PM
I'm going to guess the function parameter to
on
requires a return value of type
dynamic
, and you only have a statement which isn't an expression.