Minor code clean up

This commit is contained in:
gingerBill
2019-03-11 19:52:40 +00:00
parent e781056df1
commit bdab5e00da
6 changed files with 41 additions and 22 deletions
+1
View File
@@ -2049,6 +2049,7 @@ bool check_procedure_type(CheckerContext *ctx, Type *type, Ast *proc_type_node,
type->Proc.is_polymorphic = pt->generic;
type->Proc.specialization_count = specialization_count;
type->Proc.diverging = pt->diverging;
type->Proc.tags = pt->tags;
if (param_count > 0) {
Entity *end = params->Tuple.variables[param_count-1];