CreateExpect: shouldn't generate expect declaration from actual function with private, lateinit or const
#KT-33930 Fixed
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
// DISABLE-ERRORS
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// "Create expected property in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: "The declaration has `const` modifier"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual const val <caret>s: String = "Hello"
|
||||
Reference in New Issue
Block a user