ryo
05/17/2017, 1:42 AM>>> fun isOdd(x: Int) = x % 2 != 0
>>> val numbers = listOf(1, 2, 3)
>>> numbers.filter(::isOdd)
error: left-hand side of a callable reference with a receiver parameter cannot be empty. Please specify the type of the receiver before '::' explicitly
numbers.filter(::isOdd)