From b789f53dc8f7e3e57dac619b298a30a1e2f86d05 2022-04-13 14:56:00 From: mh Date: 2022-04-13 14:56:00 Subject: [PATCH] Actually fix string concatenation tests --- diff --git a/src/protocol/tests/eval_operators.rs b/src/protocol/tests/eval_operators.rs index ac29e2cf83b875ecea143f88620eebec700f0788..9f16b0bb9bce077911bcca37746b6b44f9d491ac 100644 --- a/src/protocol/tests/eval_operators.rs +++ b/src/protocol/tests/eval_operators.rs @@ -230,10 +230,8 @@ func foo() -> bool { auto res2 = perform_concatenate(left, right); auto expected = \"Darth Vader, but also Anakin Skywalker\"; - print(res1); - print(expected); return - res1 == expected; // && + res1 == expected && res2 == \"Darth Vader, but also Anakin Skywalker\" && res1 != \"This kind of thing\" && res2 != \"Another likewise kind of thing\"; } diff --git a/std/std.internet.pdl b/std/std.internet.pdl index 119f903f46a7240f83ebea6be8a764ed131d4802..3e016622c4f8586d89ec371eb4e778dcc28f719e 100644 --- a/std/std.internet.pdl +++ b/std/std.internet.pdl @@ -10,19 +10,3 @@ union Cmd { primitive tcp_client(u8[] ip, u16 port, in cmds, out rx) { #builtin } - -- Cleaned up stdlib -- Add option to bin compiler -- Allow for builtin procedures -- Move global functions to their own stdlib file -- Add bytestring (and tests for those bytestrings) -- Implement type inspector for rust-based components -- Modify scheme to facilitate position-independent symbol referencing (from token ranges to token markers) -- Fix (byte)string character escaping bug -- Fix (release-mode only) type inferencing bug -- Implement token-writer for debugging purposes -- Introduce `component` trait to facilitate builtin components -- Refactor common component code into various `component::default_handle_xxx` functions. -- Create TCP client component -- Add "epoll" polling thread to retrieve file descriptor events from unix OS. -- Implement type for runtime errors \ No newline at end of file