aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-02-08 12:49:38 +0000
committergingerBill <bill@gingerbill.org>2020-02-08 12:49:38 +0000
commit35711a400c4245a75b0548577fd432c5bf674c37 (patch)
tree933a74906be44b2f69a0503da134768b4a0029ef /src/check_expr.cpp
parent66da96284a4674e87cdf17b546620d84a817971d (diff)
Anonymous procedure literal support
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 52c1f38b7..6d049747f 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -7643,6 +7643,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
return kind;
}
+ pl->decl = decl;
check_procedure_later(ctx.checker, ctx.file, empty_token, decl, type, pl->body, pl->tags);
}
check_close_scope(&ctx);