Add the STR RPC to overlord and game code (#134)

* work in progress streaming rpc, simple test is working

* actually add the test

* debug windows failure

* windows fix maybe

* windows 2

* use str-load-status

* update types
This commit is contained in:
water111
2020-11-22 12:59:55 -05:00
committed by GitHub
parent 460ec874bb
commit 19b8bb81c9
27 changed files with 749 additions and 126 deletions
+3 -2
View File
@@ -441,10 +441,11 @@ Val* Compiler::compile_real_function_call(const goos::Object& form,
}
for (uint32_t i = 0; i < args.size(); i++) {
if (method_type_name.empty()) {
typecheck(form, function->type().get_arg(i), args.at(i)->type(), "function argument");
typecheck(form, function->type().get_arg(i), args.at(i)->type(),
fmt::format("function argument {}", i));
} else {
typecheck(form, function->type().get_arg(i).substitute_for_method_call(method_type_name),
args.at(i)->type(), "function argument");
args.at(i)->type(), fmt::format("function argument {}", i));
}
}
}