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