Add a set of new tests for KT-27075 (create expected class) + some fixes

This commit is contained in:
Mikhail Glukhikh
2018-11-20 13:48:48 +03:00
parent 4ab4358d22
commit f31428257d
37 changed files with 400 additions and 34 deletions
@@ -0,0 +1,2 @@
// My: to be implemented
// DISABLE-ERRORS
@@ -0,0 +1,8 @@
// My: to be implemented
// DISABLE-ERRORS
expect enum class My {
;
fun getHello(): String
}
@@ -0,0 +1,8 @@
// "Create expected enum class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual enum class <caret>My {
;
actual fun getHello() = "Hello"
}
@@ -0,0 +1,8 @@
// "Create expected enum class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual enum class My {
;
actual fun getHello() = "Hello"
}