8de2ff2163
Before this commit, only one-line enums and annotation classes were considered. Now we can have enum header on one line and some entries on another lines, and it still works. Same with primary constructor parameters. #KT-22637 Fixed
32 lines
916 B
Kotlin
Vendored
32 lines
916 B
Kotlin
Vendored
actual annotation class <lineMarker descr="Has declaration in common module">Ann</lineMarker>(
|
|
actual val <lineMarker descr="Has declaration in common module">x</lineMarker>: Int, actual val y: String,
|
|
actual val <lineMarker descr="Has declaration in common module">z</lineMarker>: Double, actual val b: Boolean
|
|
)
|
|
|
|
// TODO: first marker on 'Ann' is generated twice here, see collectSlowLineMarkers main loop.
|
|
// Since it's fragile place, I don't want to fix it right now
|
|
|
|
|
|
/*
|
|
LINEMARKER: Has declaration in common module
|
|
TARGETS:
|
|
common.kt
|
|
expect annotation class <1>Ann(
|
|
*//*
|
|
LINEMARKER: Has declaration in common module
|
|
TARGETS:
|
|
common.kt
|
|
expect annotation class <1>Ann(
|
|
*//*
|
|
LINEMARKER: Has declaration in common module
|
|
TARGETS:
|
|
common.kt
|
|
val <1>x: Int, val <2>y: String,
|
|
*//*
|
|
LINEMARKER: Has declaration in common module
|
|
TARGETS:
|
|
common.kt
|
|
val <2>z: Double, val <1>b: Boolean
|
|
*/
|
|
|