aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-10-22 14:12:48 +0100
committergingerBill <bill@gingerbill.org>2021-10-22 14:12:48 +0100
commitef73a284e3e438a25a4e329d59057cfa8cddf44c (patch)
tree5b4e37bf64f4e8bc43b38a66ba46e103864f548a /src/llvm_backend_expr.cpp
parent28af376d103da1b7820032de0b6d8fc6ca9d6d3a (diff)
Fix check_remove_expr_info
Diffstat (limited to 'src/llvm_backend_expr.cpp')
-rw-r--r--src/llvm_backend_expr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llvm_backend_expr.cpp b/src/llvm_backend_expr.cpp
index caeae2fb0..6ad0e1191 100644
--- a/src/llvm_backend_expr.cpp
+++ b/src/llvm_backend_expr.cpp
@@ -2258,9 +2258,9 @@ lbValue lb_build_expr(lbProcedure *p, Ast *expr) {
if (tv.value.kind != ExactValue_Invalid) {
// NOTE(bill): The commented out code below is just for debug purposes only
- // GB_ASSERT_MSG(!is_type_untyped(tv.type), "%s @ %s\n%s", type_to_string(tv.type), token_pos_to_string(expr_pos), expr_to_string(expr));
// if (is_type_untyped(type)) {
- // gb_printf_err("%s %s\n", token_pos_to_string(expr_pos), expr_to_string(expr));
+ // gb_printf_err("%s %s : %s @ %p\n", token_pos_to_string(expr_pos), expr_to_string(expr), type_to_string(expr->tav.type), expr);
+ // GB_PANIC("%s\n", type_to_string(tv.type));
// }
// NOTE(bill): Short on constant values