diff options
| author | gingerBill <bill@gingerbill.org> | 2020-02-23 10:39:57 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-02-23 10:39:57 +0000 |
| commit | e197af766d5ead2a1a67ead4c780848c6749a5b1 (patch) | |
| tree | a874c73d31366c8fdcccd7546e4294d5df51a6d6 /src/check_decl.cpp | |
| parent | 2180f4a475287546b9230745343ca3e0847525c6 (diff) | |
| parent | 10fe5e97b3eea5409660220a903bc6ad09478c1b (diff) | |
Merge branch 'master' into llvm-integration
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 0e669e473..ece38e84f 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1207,7 +1207,7 @@ void check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *decl, Type *ty } - bool where_clause_ok = evaluate_where_clauses(ctx, decl->scope, &decl->proc_lit->ProcLit.where_clauses, true); + bool where_clause_ok = evaluate_where_clauses(ctx, nullptr, decl->scope, &decl->proc_lit->ProcLit.where_clauses, true); if (!where_clause_ok) { // NOTE(bill, 2019-08-31): Don't check the body as the where clauses failed return; |