Refactoring: inline val / fun now use the common inliner
This prevents their inconsistent work in some situations NB: breaks three tests if used alone
This commit is contained in:
Vendored
+1
@@ -6,5 +6,6 @@ class Class {
|
||||
}
|
||||
|
||||
fun f() {
|
||||
Class()
|
||||
println(239)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// ERROR: Cannot perform refactoring.\nVariable length has no initializer
|
||||
|
||||
fun foo(s: String) {
|
||||
val l = s.<caret>length
|
||||
}
|
||||
Reference in New Issue
Block a user