Do not create expect / actual markers for parameters & enum entries

Part of KT-26957
This commit is contained in:
Mikhail Glukhikh
2018-10-02 18:31:03 +03:00
parent 17076cd05e
commit bb19d4c598
10 changed files with 80 additions and 2 deletions
@@ -0,0 +1,7 @@
// !CHECK_HIGHLIGHTING
expect class WithConstructor(x: Int, s: String) {
val x: Int
val s: String
}
@@ -0,0 +1 @@
actual class <lineMarker>WithConstructor</lineMarker> actual constructor(actual val x: Int, actual val s: String)
@@ -0,0 +1,5 @@
// !CHECK_HIGHLIGHTING
package test
expect enum class Enum { A, B, C }
@@ -0,0 +1,3 @@
package test
actual enum class <lineMarker>Enum</lineMarker> { A, B, C }
@@ -0,0 +1,5 @@
expect class <lineMarker>WithConstructor</lineMarker>(x: Int, s: String) {
val <lineMarker>x</lineMarker>: Int
val <lineMarker>s</lineMarker>: String
}
@@ -0,0 +1,3 @@
// !CHECK_HIGHLIGHTING
actual class WithConstructor actual constructor(actual val x: Int, actual val s: String)
@@ -0,0 +1,3 @@
package test
expect enum class <lineMarker>Enum</lineMarker> { A, B, C, D }
@@ -0,0 +1,4 @@
// !CHECK_HIGHLIGHTING
package test
actual enum class Enum { A, B, C, D }