TypeAccessibilityChecker: add more tests

This commit is contained in:
Dmitry Gridin
2019-08-21 18:19:37 +07:00
parent 84d167b7bd
commit 73ae993d81
68 changed files with 412 additions and 29 deletions
@@ -0,0 +1 @@
// To be implemented
@@ -0,0 +1,3 @@
// To be implemented
expect class A {
}
@@ -0,0 +1,8 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
interface Some
actual class A {
actual fun <caret>a(): Some = TODO()
}
@@ -0,0 +1,8 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
interface Some
actual class A {
fun <caret>a(): Some = TODO()
}
@@ -0,0 +1,2 @@
These declarations cannot be transformed:
fun a() = TODO()