Commit 29a2890
authored
Update KotlinControlStructuresTarget for Kotlin 1.5 (#1180)
for-loop with range expression whose bounds are constants with end
less than start is folded into nop by Kotlin compiler version 1.5,
without constants in for-loops behaviour is the same for compiler
version 1.5 as for earlier versions.1 parent acce036 commit 29a2890
File tree
1 file changed
+3
-3
lines changed- org.jacoco.core.test.validation.kotlin/src/org/jacoco/core/test/validation/kotlin/targets
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments