diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-12 14:19:12 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-12 14:19:12 +0100 |
| commit | 2ab0d9757388d1ec84db56b6ebb49a2ffff34d62 (patch) | |
| tree | aa8a4640256bc22befd823b8ec1b4b1d6642aebf /src/check_expr.cpp | |
| parent | 0c05fc14327631b0fa70eadf60426d507812c4d5 (diff) | |
`import` and `import_load` as keywords; Fix procedure literal call trick
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index aac533b17..cf35c30b3 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_decl = pl->type; + decl->proc_decl = node; c->context.decl = decl; if (pl->tags != 0) { |