Fix tests after disabling trailing comma
#KT-34744
This commit is contained in:
Vendored
+3
-5
@@ -18,9 +18,7 @@ fun useSimple(s: Int): Int {
|
||||
fun println(s: String) {}
|
||||
|
||||
fun useIt() {
|
||||
val t = useSimple(
|
||||
simple {
|
||||
println("abc")
|
||||
}
|
||||
)
|
||||
val t = useSimple(simple {
|
||||
println("abc")
|
||||
})
|
||||
}
|
||||
+1
-2
@@ -36,6 +36,5 @@ fun createHi(any: Any) = "Hi $any"
|
||||
val unDeprecateMe = mutableListOf("Hello").apply {
|
||||
addA(d(::createHi, 1 ) { // Run the quick fix from the IDE and watch it produce broken code.
|
||||
println("Yo")
|
||||
}, Unit
|
||||
)
|
||||
}, Unit)
|
||||
}
|
||||
Reference in New Issue
Block a user