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:
Mikhail Glukhikh
2018-12-26 16:43:40 +03:00
parent cdef811c55
commit 8de2ff2163
8 changed files with 121 additions and 13 deletions
@@ -0,0 +1,6 @@
// !CHECK_HIGHLIGHTING
expect annotation class Ann(
val x: Int, val y: String,
val z: Double, val b: Boolean
)