Minor: fix tests after rebase
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ fun box(): String {
|
|||||||
var s = ""
|
var s = ""
|
||||||
val name = "equals-impl0"
|
val name = "equals-impl0"
|
||||||
val specializedEquals =
|
val specializedEquals =
|
||||||
Class.forName("Simple\$Erased").getDeclaredMethod(name, String::class.java, String::class.java)
|
Class.forName("Simple").getDeclaredMethod(name, String::class.java, String::class.java)
|
||||||
?: return "$name not found"
|
?: return "$name not found"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
+1
@@ -8,6 +8,7 @@ inline class Foo(val x: Int) {
|
|||||||
|
|
||||||
constructor(z: Long) : this(z.toInt() + 1)
|
constructor(z: Long) : this(z.toInt() + 1)
|
||||||
|
|
||||||
|
@Suppress("SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_INLINE_CLASS")
|
||||||
constructor(other: Char) : this(other.toInt().toString()) {
|
constructor(other: Char) : this(other.toInt().toString()) {
|
||||||
global = "OK"
|
global = "OK"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user