Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ChangeLogを読もう(1.2.70編)

scache
September 20, 2018

 ChangeLogを読もう(1.2.70編)

KotlinのChangeLogで面白そうなものをピックアップしました

scache

September 20, 2018
Tweet

More Decks by scache

Other Decks in Programming

Transcript

  1. ❖ Compiler ❖ IDE ❖ Inspections and Intentions ❖ KDoc

    ❖ Libraries ❖ Reflection ❖ Tools ❖ Kapt ❖ Gradle ❖ JavaScript
  2. Compiler: KT-22201 ❖ Generate nullability annotations for data class toString

    and equals methods. https://youtrack.jetbrains.com/issue/KT-22201
  3. Compiler: KT-22201 ❖ Generate nullability annotations for data class toString

    and equals methods. data class MyDataClass( val a: Int = 1 ) https://youtrack.jetbrains.com/issue/KT-22201
  4. Compiler: KT-22201 ❖ Generate nullability annotations for data class toString

    and equals methods. data class MyDataClass( val a: Int = 1 ) public String toString() { return "MyDataClass(a=" + this.a + ")"; } public boolean equals(Object var1) { ... } } ❖ v1.2.60 https://youtrack.jetbrains.com/issue/KT-22201
  5. Compiler: KT-22201 ❖ Generate nullability annotations for data class toString

    and equals methods. data class MyDataClass( val a: Int = 1 ) @NotNull public String toString() { return "MyDataClass(a=" + this.a + ")"; } public boolean equals(@Nullable Object var1) { ... } } ❖ v1.2.70 https://youtrack.jetbrains.com/issue/KT-22201
  6. Compiler: KT-20772 ❖ Incorrect smart cast on enum members enum

    class Message(val text: String?) { HELLO("hello"), WORLD("world"), NOTHING(null) } https://youtrack.jetbrains.com/issue/KT-20772
  7. Compiler: KT-20772 ❖ Incorrect smart cast on enum members enum

    class Message(val text: String?) { HELLO("hello"), WORLD("world"), NOTHING(null) } fun printMessages() { val helloText: String = Message.HELLO.text!! val nothingText: String = Message.NOTHING.text println(helloText) println(nothingText) } https://youtrack.jetbrains.com/issue/KT-20772
  8. Compiler: KT-20772 ❖ Incorrect smart cast on enum members enum

    class Message(val text: String?) { HELLO("hello"), WORLD("world"), NOTHING(null) } fun printMessages() { val helloText: String = Message.HELLO.text!! val nothingText: String = Message.NOTHING.text println(helloText) // hello println(nothingText) // null } https://youtrack.jetbrains.com/issue/KT-20772
  9. Compiler: KT-20772 ❖ Incorrect smart cast on enum members enum

    class Message(val text: String?) { HELLO("hello"), WORLD("world"), NOTHING(null) } fun printMessages() { val helloText: String = Message.HELLO.text!! val nothingText: String = Message.NOTHING.text println(helloText) // hello println(nothingText) // null } https://youtrack.jetbrains.com/issue/KT-20772
  10. IDE: KT-25356 ❖ Update Gradle Kotlin-DSL icon according to new

    IDEA 2018.2 icons style https://youtrack.jetbrains.com/issue/KT-25356
  11. IDE: KT-25356 ❖ Update Gradle Kotlin-DSL icon according to new

    IDEA 2018.2 icons style https://youtrack.jetbrains.com/issue/KT-25356
  12. IDE: KT-25356 ❖ Update Gradle Kotlin-DSL icon according to new

    IDEA 2018.2 icons style https://youtrack.jetbrains.com/issue/KT-25356
  13. IDE: KT-13854 ❖ Need intention actions: to convert property with

    getter to initializer https://youtrack.jetbrains.com/issue/KT-13854
  14. IDE: KT-13854 ❖ Need intention actions: to convert property with

    getter to initializer https://youtrack.jetbrains.com/issue/KT-13854
  15. IDE: KT-13854 ❖ Need intention actions: to convert property with

    getter to initializer https://youtrack.jetbrains.com/issue/KT-13854
  16. IDE: KT-22823 ❖ Text pasted into package is parsed as

    Kotlin before Java https://youtrack.jetbrains.com/issue/KT-22823