Fix JS source maps for "is" and "in" clauses in when expression

This commit is contained in:
Alexey Andreev
2017-05-10 20:44:45 +03:00
parent 9692c02f6e
commit 6ad991adfb
5 changed files with 47 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
fun box() {
when (A()) {
is A ->
println("A")
is B ->
println("B")
else ->
println("other")
}
}
open class A
open class B : A()
// LINES: 2 2 3 4 5 6 8 * 14