Do not propose to make local lateinit var immutable #KT-21104 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
938fd1a57e
commit
4d93c08bd0
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user