Use 'name-hash' mangling scheme

'-' is allowed as a name character both in JVM and in Dalvik, but can't
be a part of a Java identifier.
This commit is contained in:
Dmitry Petrov
2018-08-21 14:14:51 +03:00
committed by Ilya Gorbunov
parent a56d1d3ce8
commit 99498eb7b8
14 changed files with 37 additions and 37 deletions
@@ -26,10 +26,10 @@ fun box(): String {
}
for (entry in stackTrace) {
if (entry.methodName.startsWith("test$")) {
if (entry.methodName.startsWith("test")) {
return "OK"
}
}
throw AssertionError()
throw AssertionError(stackTrace.asList().toString())
}