"Join declaration and assignment" should remove 'lateinit' for 'var' #KT-21603 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-12-05 11:19:58 +09:00
parent 075203ad33
commit e341ec969f
4 changed files with 17 additions and 0 deletions
@@ -0,0 +1,5 @@
fun foo(a: String, b: String) {
lateinit var c: String<caret>
c = a
c = b
}
@@ -0,0 +1,4 @@
fun foo(a: String, b: String) {
var c<selection>: String</selection><caret> = a
c = b
}