Add missing arity checks to compiler series

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

View File

@@ -53,8 +53,8 @@ struct type_data : public type_base {
std::map<std::string, constructor> constructors;
type_data(std::string n)
: type_base(std::move(n)) {}
type_data(std::string n, int32_t a = 0)
: type_base(std::move(n), a) {}
};
struct type_arr : public type {