Cleanup deprecated symbol usages in testData
This commit is contained in:
@@ -44,7 +44,7 @@ abstract class Tag(val name: String) : Element() {
|
||||
|
||||
private fun renderAttributes(): String? {
|
||||
val builder = StringBuilder()
|
||||
for (a in attributes.keySet()) {
|
||||
for (a in attributes.keys) {
|
||||
builder.append(" $a=\"${attributes[a]}\"")
|
||||
}
|
||||
return builder.toString()
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ abstract class Tag(val name: String) : Element() {
|
||||
|
||||
private fun renderAttributes(): String? {
|
||||
val builder = StringBuilder()
|
||||
for (a in attributes.keySet()) {
|
||||
for (a in attributes.keys) {
|
||||
builder.append(" $a=\"${attributes[a]}\"")
|
||||
}
|
||||
return builder.toString()
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ package foo
|
||||
|
||||
fun test1(): Int {
|
||||
val inlineX = Inline()
|
||||
return inlineX.foo({ z: Int -> "" + z}, 25, { -> this.length() })
|
||||
return inlineX.foo({ z: Int -> "" + z}, 25, { -> this.length })
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ fun test3(): Int {
|
||||
})
|
||||
return res
|
||||
} catch (e: RuntimeException) {
|
||||
return e.getMessage()?.toInt2()!!
|
||||
return e.message?.toInt2()!!
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user