diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-04 22:01:51 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-04 22:01:51 +0000 |
| commit | f0de99405982e8e2e2a121fccf81e32e4c221e8c (patch) | |
| tree | 07a78ee9d1e7803772c42bd0a04fa9624152c0e5 /src/check_expr.cpp | |
| parent | ebb2a9812ced9c3f53085a57843f42b95086ae87 (diff) | |
Make core library use procedure groupings rather than normal overloading
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 21a4f7cfe..1c4c33747 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -4459,8 +4459,9 @@ CallArgumentData check_call_arguments(Checker *c, Operand *operand, Type *proc_t } if (operand->mode == Addressing_Overload) { - GB_ASSERT(operand->overload_entities != nullptr && - operand->overload_count > 0); + // GB_ASSERT_MSG(operand->overload_entities != nullptr && + // operand->overload_count > 0, + // "%p %td", operand->overload_entities, operand->overload_count); isize overload_count = operand->overload_count; Entity ** procs = operand->overload_entities; ValidIndexAndScore *valids = gb_alloc_array(heap_allocator(), ValidIndexAndScore, overload_count); |