Allow 'lateinit' modifier on local variables

This commit is contained in:
Dmitry Petrov
2017-05-31 12:50:11 +03:00
parent 352071dc4a
commit f88cd5ed3d
5 changed files with 25 additions and 2 deletions
@@ -0,0 +1,5 @@
fun test() {
lateinit var s: String
s = ""
s.length
}
@@ -0,0 +1,3 @@
package
public fun test(): kotlin.Unit