Java to Kotlin converter: no intermediate __ variable in factory function if body is simple
This commit is contained in:
@@ -20,8 +20,7 @@ class C(arg1: Int, arg2: Int, arg3: Int) {
|
||||
}
|
||||
|
||||
fun create(arg1: Int): C {
|
||||
val __ = C(arg1, 0, 0)
|
||||
return __
|
||||
return C(arg1, 0, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user