diff options
| author | gingerBill <bill@gingerbill.org> | 2018-09-08 12:16:03 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-09-08 12:16:03 +0100 |
| commit | 3825eab989c0911326fd009b96c9768150ff6ac2 (patch) | |
| tree | df87565103ece81667b091dac69291071c962cca /src/check_type.cpp | |
| parent | 3cd6ae311df68c1ac8b4015ebf5eef694126a59b (diff) | |
Diverging procedures `proc() -> !` (no return)
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 757fb7f37..d523b67de 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -1951,6 +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; if (param_count > 0) { Entity *end = params->Tuple.variables[param_count-1]; |