https://kotlinlang.org logo
k

kevinmost

09/01/2017, 5:32 PM
either use parens with a method reference, or use curly braces with
MyEnum.valueOf(it)