diff options
| author | gingerBill <bill@gingerbill.org> | 2021-05-16 13:00:16 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-05-16 13:00:16 +0100 |
| commit | 2e633f57a065b09c9b0c7ad16f393762475a308a (patch) | |
| tree | a50ea89ee68286166e7c9f332cb5a6aafb567b2b /src/llvm_backend.cpp | |
| parent | 50369cf19ca6aceb342e4688aee1d1903d7a1bb8 (diff) | |
Add concrete type information for untyped values as procedure arguments
Diffstat (limited to 'src/llvm_backend.cpp')
| -rw-r--r-- | src/llvm_backend.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index 41b1e8fc9..c46c4fd85 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -11386,6 +11386,7 @@ lbValue lb_build_expr(lbProcedure *p, Ast *expr) { if (tv.value.kind != ExactValue_Invalid) { // NOTE(bill): Short on constant values + // GB_ASSERT_MSG(!is_type_untyped(tv.type), "%s @ %s", type_to_string(tv.type), token_pos_to_string(expr_pos)); return lb_const_value(p->module, tv.type, tv.value); } |