Postpone analyze and remove direct working with BindingContext in folding

#KT-5206 Fixed
This commit is contained in:
Nikolay Krasko
2018-04-19 19:40:51 +03:00
parent 3a83983bfc
commit b6699d7522
8 changed files with 70 additions and 101 deletions
@@ -1,12 +1,17 @@
val array = arrayOf <fold text='(...)' expand='true'>(
val array = arrayOf<fold text='(...)' expand='true'>(
11 to 0,
12 to 1,
13 to 3,
14 to 4,
15 to 5,
16 to 6,
17 to 7,
18 to 8,
19 to 9,
20 to 10
)</fold>
)</fold>
val set = setOf<fold text='(...)' expand='true'>(
1,
2
)</fold>
val list = listOf<fold text='(...)' expand='true'>(
1,
2
)</fold>
// WITH_RUNTIME
@@ -0,0 +1 @@
val array = arrayOf(11 to 0, 12 to 1, 13 to 3, 14 to 4, 15 to 5, 16 to 6, 17 to 7)
@@ -0,0 +1,5 @@
val arrayEmpty = arrayOf()
val arrayOneOneLiner = arrayOf(1)
val arrayOneMultiLine = arrayOf(
1
)