diff --git a/test_arc_fix.nyash b/test_arc_fix.nyash new file mode 100644 index 00000000..7f1c332c --- /dev/null +++ b/test_arc_fix.nyash @@ -0,0 +1,17 @@ +static box Main { + init { server } + + main() { + me.server = new SocketBox() + + print("=== Before bind ===") + print("isServer: " + me.server.isServer()) + + me.server.bind("127.0.0.1", 8080) + + print("=== After bind ===") + print("isServer: " + me.server.isServer()) // This should be true if fix works! + + return me.server.isServer() + } +} \ No newline at end of file