Fix JS source maps for complex enum entry

This commit is contained in:
Alexey Andreev
2017-05-15 18:57:51 +03:00
parent b70c52e41f
commit 27a44f3282
4 changed files with 22 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
enum class E {
X,
Y {
fun foo() = 23
},
Z() {
fun bar() = 42
}
}
// LINES: 1 1 1 1 2 4 8 * 2 2 4 4 5 * 4 4 8 8 9 * 8 8 * 1 * 1 1 1 1 1 1