diff options
| author | gingerBill <bill@gingerbill.org> | 2018-09-09 13:48:33 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-09-09 13:48:33 +0100 |
| commit | 12902821d63973e49f34fe5826f1069ca4ea605b (patch) | |
| tree | de0d95adc10257b85c52c361b00b25f49412cb87 /src/check_type.cpp | |
| parent | f5549f6bde21c2378700770eae5ab7bba46a3671 (diff) | |
Make diverging procedure types different from ones without a return type
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index d523b67de..3319ebeb2 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -1951,7 +1951,7 @@ bool check_procedure_type(CheckerContext *ctx, Type *type, Ast *proc_type_node, type->Proc.calling_convention = cc; type->Proc.is_polymorphic = pt->generic; type->Proc.specialization_count = specialization_count; - type->Proc.no_return = pt->no_return; + type->Proc.diverging = pt->diverging; if (param_count > 0) { Entity *end = params->Tuple.variables[param_count-1]; |