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
18 lines
321 B
Kotlin
Vendored
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
|
|
*/
|