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,3 @@
expect class A {
}
@@ -0,0 +1,12 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
interface Some
class A {
actual val a: Some
actual <caret>constructor(a: Some, b: Int) {
this.a = a
}
}
@@ -0,0 +1,12 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
interface Some
actual class A {
val a: Some
constructor(a: Some, b: Int) {
this.a = a
}
}
@@ -0,0 +1,3 @@
These declarations cannot be transformed:
actual val a: Some
constructor(a: Some, b: Int){...}