TypeAccessibilityChecker: add more tests
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
expect class A {
|
||||
|
||||
}
|
||||
+12
@@ -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
|
||||
}
|
||||
}
|
||||
Vendored
+12
@@ -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
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
These declarations cannot be transformed:
|
||||
actual val a: Some
|
||||
constructor(a: Some, b: Int){...}
|
||||
Reference in New Issue
Block a user