Respect explicit api mode state when generating actual declarations

#KT-44067 Fixed
This commit is contained in:
Leonid Startsev
2021-04-28 01:48:11 +03:00
committed by Space
parent 8cd704b6db
commit 796d2fd210
11 changed files with 113 additions and 7 deletions
@@ -0,0 +1,4 @@
// "Create actual function for module testModule_JVM (JVM)" "true"
// COMPILER_ARGUMENTS: -Xexplicit-api=strict
public expect fun <caret>foo(arg: Int): String
@@ -0,0 +1,4 @@
// "Create actual function for module testModule_JVM (JVM)" "true"
// COMPILER_ARGUMENTS: -Xexplicit-api=strict
public expect fun foo(arg: Int): String
@@ -0,0 +1 @@
// foo: to be implemented
@@ -0,0 +1,4 @@
// foo: to be implemented
public actual fun foo(arg: Int): String {
TODO("Not yet implemented")
}