this code is a mess and I am losing my mind
This commit does not work and I am so down I don't even bother committing to conventional commits until I fix this mess.
This commit is contained in:
+2
-2
@@ -75,8 +75,8 @@ int main(int argc, char** argv) {
|
||||
mod->emplace_function(furvm::function_sig{ { u64Type }, u64Type }, "print").dispatch();
|
||||
#endif
|
||||
mod->set_native_function("println", [](furvm::executor& executor) {
|
||||
auto arg = std::move(*executor.load_thing(0));
|
||||
print_thing(arg);
|
||||
auto arg = executor.load_thing(0);
|
||||
print_thing(*arg);
|
||||
std::cout << '\n';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user