Do not propose to make local lateinit var immutable #KT-21104 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-11-14 12:07:46 +03:00
committed by Mikhail Glukhikh
parent 938fd1a57e
commit 4d93c08bd0
4 changed files with 25 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.inspections.CanBeValInspection
@@ -0,0 +1,7 @@
// LANGUAGE_VERSION: 1.2
// PROBLEM: none
fun test() {
lateinit <caret>var foo: String
foo = "a"
}