Merge together MultiplatformHighlighting and MultiplatformAnalysis tests
Basically, the former uses an old quickly-scrapped infrastructure, which were not applicable for HMPP, so the latter tests were written. So, both check for one and the same thing (highlighting in MPP projects), but MultiplatformAnalysisTest is more modern, and has a lot of inconvenient stuff in MultiplatformHighlighting fixed ^KT-43116 Fixed
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package sample
|
||||
|
||||
expect class A {
|
||||
fun commonFun()
|
||||
val x: Int
|
||||
val y: Double
|
||||
val z: String
|
||||
expect class <!LINE_MARKER("descr='Has actuals in JVM'")!>A<!> {
|
||||
fun <!LINE_MARKER("descr='Has actuals in JVM'")!>commonFun<!>()
|
||||
val <!LINE_MARKER("descr='Has actuals in JVM'")!>x<!>: Int
|
||||
val <!LINE_MARKER("descr='Has actuals in JVM'")!>y<!>: Double
|
||||
val <!LINE_MARKER("descr='Has actuals in JVM'")!>z<!>: String
|
||||
}
|
||||
|
||||
fun getCommonA(): A = null!!
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
package sample
|
||||
|
||||
actual data class A(actual val x: Int, actual val y: Double, val t: String) {
|
||||
actual fun commonFun() {}
|
||||
actual data class <!LINE_MARKER("descr='Has declaration in common module'")!>A<!>(actual val x: Int, actual val y: Double, val t: String) {
|
||||
actual fun <!LINE_MARKER("descr='Has declaration in common module'")!>commonFun<!>() {}
|
||||
fun platformFun() {}
|
||||
|
||||
actual val z: String by lazy { "" }
|
||||
actual val <!LINE_MARKER("descr='Has declaration in common module'")!>z<!>: String by lazy { "" }
|
||||
|
||||
operator fun iterator(): Iterator<Int> = null!!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user