Remove interpreter paths and enforce bytecode-only execution

This commit is contained in:
sergeych committed 2026-02-14 01:20:13 +03:00
1 parent e73fe0d3c5
commit 34678068ac
45 files changed
+434 -1878

No files matched your search

+2 -2
View File
@@ -178,11 +178,11 @@ suspend fun DocTest.test(_scope: Scope? = null) {
scope.apply {
addFn("println") {
if( bookMode ) {
println("${currentTest.fileNamePart}:${currentTest.line}> ${args.map{it.toString(this).value}.joinToString(" ")}")
println("${currentTest.fileNamePart}:${currentTest.line}> ${args.map{toStringOf(it).value}.joinToString(" ")}")
}
else {
for ((i, a) in args.withIndex()) {
if (i > 0) collectedOutput.append(' '); collectedOutput.append(a.toString(this).value)
if (i > 0) collectedOutput.append(' '); collectedOutput.append(toStringOf(a).value)
collectedOutput.append('\n')
}
}