Code inliner: keep main property if it can have side effects
So #KT-24165 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Replace with 'FOO'" "true"
|
||||
|
||||
const val FOO = 1
|
||||
@Deprecated("always const", ReplaceWith("FOO"))
|
||||
fun foo() = 1
|
||||
fun test(){
|
||||
val x = foo<caret>()
|
||||
}
|
||||
Reference in New Issue
Block a user