Fix JS source maps for "is" and "in" clauses in when expression
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
fun box() {
|
||||
when (foo()) {
|
||||
in 2..5 ->
|
||||
println("A")
|
||||
!in 100..200 ->
|
||||
println("B")
|
||||
in bar() ->
|
||||
println("C")
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(): Int = 23
|
||||
|
||||
fun bar(): IntRange = 1000..2000
|
||||
|
||||
// LINES: 2 2 3 4 5 6 7 8 12 14
|
||||
Reference in New Issue
Block a user