Add test on rewrite at slice FUNCTOR
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// See KT-28847
|
||||
|
||||
class Foo(val str: String?) {
|
||||
val first = run {
|
||||
str.isNullOrEmpty()
|
||||
second
|
||||
}
|
||||
|
||||
val second = str.isNullOrEmpty()
|
||||
}
|
||||
Reference in New Issue
Block a user