[JS BE] Make sourceMap generation more precise
- Don't produce mapping for closing bracket in case of expressionBody - Map Kt*Function declaration into corresponding js fun declaration - Update test data & add new test
This commit is contained in:
@@ -11,4 +11,4 @@ inline fun foo(x: Int) {
|
||||
|
||||
fun bar() = 23
|
||||
|
||||
// LINES: 5 4 4 8 8 9 9 10 8 8 9 9 12 12 12 * 1 * 1
|
||||
// LINES: 3 5 4 4 8 8 9 9 7 10 8 8 9 9 12 12 12 * 1 * 1
|
||||
Reference in New Issue
Block a user