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
@@ -1,2 +1,5 @@
These declarations cannot be transformed:
fun a() = TODO()
fun b() = "string"
actual lateinit var c: Int
const val d = "const"