aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-12 12:34:55 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-12 12:34:55 +0100
commit33eeb5852190ea6a363eced57050ba739061a32b (patch)
treebea04319c89a92b63793a18e0a93790737fa9d84 /src/check_expr.cpp
parent8fafdb185cefee691e1c2e1990abf8cd3c97ddf4 (diff)
Prefix `proc` syntax
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 8286483bc..aac533b17 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -5510,7 +5510,7 @@ ExprKind check_expr_base_internal(Checker *c, Operand *o, AstNode *node, Type *t
check_open_scope(c, pl->type);
{
decl = make_declaration_info(c->allocator, c->context.scope, c->context.decl);
- decl->proc_lit = pl->type;
+ decl->proc_decl = pl->type;
c->context.decl = decl;
if (pl->tags != 0) {