diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2020-03-26 17:41:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-26 17:41:38 +0000 |
| commit | 6bbecbe895a7b413dee61da772586be4e3138174 (patch) | |
| tree | a86e716cb2a519a7bff7a320821fbde7abd8673e /src/check_decl.cpp | |
| parent | 7909872877fd5c82c29df711f160838a7a4e59e1 (diff) | |
| parent | b21993a1c470a533a83e5b01274d3b026fb34f9b (diff) | |
Merge pull request #595 from odin-lang/llvm-integration
LLVM C API Integration
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 0e12a2822..13f05c5b5 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -625,6 +625,7 @@ void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) { check_open_scope(ctx, pl->type); defer (check_close_scope(ctx)); + ctx->scope->procedure_entity = e; Type *decl_type = nullptr; |