New source mapping

This commit is contained in:
Michael Bogdanov
2016-04-18 17:56:08 +03:00
parent cb615c557a
commit ff820bddc0
18 changed files with 575 additions and 18 deletions
@@ -33,7 +33,10 @@ fun box(): String {
// FILE: 2.smap
//TODO SHOULD BE LESS
//TODO
//7#1,3:26
//10#1,6:30 - could be merged in one big interval due preprocessing of inline function
SMAP
2.kt
Kotlin
@@ -45,7 +48,10 @@ _2Kt
builders/_1Kt
*L
1#1,24:1
7#1,3:26
10#1,6:30
6#2:25
6#2:29
*E
SMAP
@@ -35,7 +35,9 @@ fun box(): String {
// FILE: 2.smap
//TODO SHOULD BE LESS
//7#1,3:28
//10#1,8:32 - could be merged in one big interval due preprocessing of inline function
SMAP
2.kt
Kotlin
@@ -47,7 +49,10 @@ _2Kt
builders/_1Kt
*L
1#1,26:1
7#1,3:28
10#1,8:32
6#2:27
6#2:31
*E
SMAP
@@ -32,7 +32,6 @@ inline fun test(z: () -> Unit) {
// FILE: 2.smap
//PROBLEM of KT-11478 in additional line mapping for default source (so 'single' was replaces with 'first' in SMAP class init):
//*L
//1#1,15:1
//17#1:19
@@ -66,11 +65,7 @@ test/_1Kt
_2Kt
*L
1#1,17:1
21#1:23
13#2,2:18
5#2:18
18#2:19
9#2:20
19#2,2:20
7#3:22
7#3:21
*E