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,2 @@
expect class A {
}
@@ -0,0 +1,7 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
class A {
class M
actual fun <caret>a(): M = TODO()
}
@@ -0,0 +1,7 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
actual class A {
class M
fun <caret>a(): M = TODO()
}
@@ -0,0 +1,2 @@
These declarations cannot be transformed:
fun a() = TODO()