Files
kotlin-fork/idea/testData/multiModuleLineMarker/expectEnumWithEnumEntriesInOneLine/common/common.kt
T
Mikhail Glukhikh 8de2ff2163 Improve expect / actual markers on one line
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
2018-12-27 19:45:28 +03:00

18 lines
321 B
Kotlin
Vendored

package test
expect enum class <lineMarker descr="Has actuals in JVM">Enum</lineMarker> {
<lineMarker descr="Has actuals in JVM">A</lineMarker>, B, C, D
}
/*
LINEMARKER: Has actuals in JVM
TARGETS:
jvm.kt
actual enum class <1>Enum {
*//*
LINEMARKER: Has actuals in JVM
TARGETS:
jvm.kt
<1>A, <2>B, <3>C, <4>D
*/