Kotlin 1.3-RC4 is available


#1

What’s new

The changelog compared to 1.3-RC3 is available here.

How to get the EAP build

For IntelliJ IDEA

You can configure Early Access Preview channel in ToolsKotlinConfigure Kotlin Plugin Updates. Change the update channel to ‘Early Access Preview 1.3’ and press Check for updates now.

For Maven or Gradle

Add the https://dl.bintray.com/kotlin/kotlin-eap repository URL to the list of project repositories, and set kotlin_version to 1.3.0-rc-190. Here is how to do this in Gradle:

buildscript {
    ext.kotlin_version = '1.3.0-rc-190'

    repositories {
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
        mavenCentral()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

apply plugin: "kotlin"

repositories {
    maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
    mavenCentral()
}

dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib"
}

Please provide feedback and report issues to our issue tracker. Please don’t forget to specify your IDE/build system Kotlin plugin versions.


#2

The follow code works in Kotlin 1.2.71 but gets error in 1.3.0-rc-190 (Unsupported [suspend operator “getValue”]), will this feature present in 1.3?

suspend operator fun Any.getValue(
        thisRef: Any?,
        property: KProperty<*>
): Any = TODO()

It is pretty useful for async lazy.


#3

No, they’ve been forbidden in 1.3 since they are not fully supported at the moment (KT-24866)


#4

I’m sorry, it is a pretty feature.
Should I open a new issue about it? I wish to put my vote on it.


#5

Thank you for noticing, looks like there wasn’t any relevant issue.
I’ve created one: https://youtrack.jetbrains.com/issue/KT-27871