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
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
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
|
||||
*/
|
||||
Reference in New Issue
Block a user