mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
serialdebugger to properly handle null print
This commit is contained in:
@@ -123,7 +123,7 @@ class VMJSR223Delegate(val vm: VM) {
|
||||
}
|
||||
|
||||
class VMSerialDebugger(val vm: VM) {
|
||||
fun print(s: Any) = System.out.print("$s")
|
||||
fun println(s: Any) = System.out.println("$s")
|
||||
fun printerr(s: Any) = System.err.println("$s")
|
||||
fun print(s: Any?) = System.out.print("$s")
|
||||
fun println(s: Any?) = System.out.println("$s")
|
||||
fun printerr(s: Any?) = System.err.println("$s")
|
||||
}
|
||||
Reference in New Issue
Block a user