https://kotlinlang.org logo
y

yole

07/06/2016, 10:36 AM
@fmd: the example is correct; this works if you put the code inside a method.