Allow to embed source files into JS source maps

This commit is contained in:
Alexey Andreev
2017-06-14 14:03:37 +03:00
parent 73c37ecd25
commit a0e1bde594
40 changed files with 491 additions and 81 deletions
@@ -0,0 +1,12 @@
// EXPECTED_REACHABLE_NODES: 489
// SOURCE_MAP_EMBED_SOURCES: ALWAYS
// FILE: a.kt
fun foo() = "O"
// FILE: b.kt
// RECOMPILE
fun bar() = "K"
// FILE: main.kt
// RECOMPILE
fun box() = foo() + bar()