Add tests for KT-26141 (yet without changes)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
package p
|
||||
|
||||
expect sealed class Presence {
|
||||
object Online: Presence
|
||||
object Offline: Presence
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// !CHECK_HIGHLIGHTING
|
||||
package p
|
||||
|
||||
actual typealias Presence = P
|
||||
sealed class P {
|
||||
object Online : P()
|
||||
object Offline : P()
|
||||
}
|
||||
Generated
+5
@@ -124,6 +124,11 @@ public class MultiPlatformHighlightingTestGenerated extends AbstractMultiPlatfor
|
||||
runTest("idea/testData/multiModuleHighlighting/multiplatform/platformTypeAliasInterchangebleWithAliasedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("sealedTypeAlias")
|
||||
public void testSealedTypeAlias() throws Exception {
|
||||
runTest("idea/testData/multiModuleHighlighting/multiplatform/sealedTypeAlias/");
|
||||
}
|
||||
|
||||
@TestMetadata("suppressHeaderWithoutImpl")
|
||||
public void testSuppressHeaderWithoutImpl() throws Exception {
|
||||
runTest("idea/testData/multiModuleHighlighting/multiplatform/suppressHeaderWithoutImpl/");
|
||||
|
||||
Reference in New Issue
Block a user