aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-03-11 19:52:40 +0000
committergingerBill <bill@gingerbill.org>2019-03-11 19:52:40 +0000
commitbdab5e00da6dee80b7582135815f2183def935bb (patch)
tree12dbb8aca86abc28c9b613aece80b02883436e5a /src/check_type.cpp
parente781056df17a897073da14b3abdaf6282837fc20 (diff)
Minor code clean up
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 1c5d5ac85..451a388fb 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -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];