https://kotlinlang.org logo
Title
d

dave08

12/04/2017, 12:36 PM
Hi guys! Anyone got
Error:(31, 26) 'use((T) -> R): R' is only available since Kotlin 1.2 and cannot be used in Kotlin 1.1. Requires newer compiler version to be inlined correctly.
updating to 1.2 (from 1.1.51)?
v

vyacheslav.gerasimov

12/04/2017, 12:59 PM
Please check kotlin versions in
Preferences -> KotlinCompiler
It is a bug https://youtrack.jetbrains.com/issue/KT-21525
👍🏼 1
d

dave08

12/04/2017, 2:13 PM
For an Android app. do I still use
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
for stdlib?
v

vyacheslav.gerasimov

12/04/2017, 2:24 PM
Yes, make sure your
kotlin_version
and ide plugin is 1.2
d

dave08

12/04/2017, 2:25 PM
Yeah, that works I was just wondering about the new stdlib-jdkX artifacts... they have nothing to do w/ Android?
But if I have a Vert.x api, then I would have to update that... right?