Introduce Refactorings: Implement trimming renderer for expression
chooser. Do not suggest parenthesized expressions #KT-9028 Fixed
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
interface T {
|
||||
fun foo(vararg a: Any): T = this
|
||||
}
|
||||
|
||||
fun foo(t: T) {
|
||||
t.foo(
|
||||
1 + 2,
|
||||
<caret>2, 3
|
||||
).foo()
|
||||
.foo(4)
|
||||
}
|
||||
|
||||
/*
|
||||
2
|
||||
t.foo(...)
|
||||
t.foo(...).foo()
|
||||
t.foo(...).foo().foo(...)
|
||||
*/
|
||||
Reference in New Issue
Block a user