CreateExpect: shouldn't generate expect declaration from actual function with private, lateinit or const

#KT-33930 Fixed
This commit is contained in:
Dmitry Gridin
2019-10-02 12:11:27 +07:00
parent 9da6dcf840
commit eaa07dac17
19 changed files with 82 additions and 20 deletions
@@ -0,0 +1 @@
// DISABLE-ERRORS
@@ -0,0 +1,5 @@
// "Create expected function in common module testModule_Common" "true"
// SHOULD_FAIL_WITH: "The declaration has `private` modifier"
// DISABLE-ERRORS
private actual fun <caret>s() = "s"