Minor: fix tests after rebase

This commit is contained in:
Dmitry Petrov
2018-09-06 13:03:34 +03:00
parent 427295525a
commit aec173ac5c
2 changed files with 2 additions and 1 deletions
@@ -12,7 +12,7 @@ fun box(): String {
var s = ""
val name = "equals-impl0"
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"
try {
@@ -8,6 +8,7 @@ inline class Foo(val x: Int) {
constructor(z: Long) : this(z.toInt() + 1)
@Suppress("SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_INLINE_CLASS")
constructor(other: Char) : this(other.toInt().toString()) {
global = "OK"
}