Add missing arity checks to compiler series
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-04-14 19:21:33 -07:00
parent c9a7fbf6dd
commit c1f0104edb
3 changed files with 4 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ void definition_defn::generate_llvm(llvm_context& ctx) {
void definition_data::insert_types(type_env_ptr& env) {
this->env = env;
env->bind_type(name, type_ptr(new type_data(name)));
env->bind_type(name, type_ptr(new type_data(name, vars.size())));
}
void definition_data::insert_constructors() const {