Remove interpreter paths and enforce bytecode-only execution
This commit is contained in:
1 parent
e73fe0d3c5
commit
34678068ac
45 files changed
+434
-1878
No files matched your search
@@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user