aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_expr.c')
-rw-r--r--src/check_expr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/check_expr.c b/src/check_expr.c
index f6037beee..18c75ac9d 100644
--- a/src/check_expr.c
+++ b/src/check_expr.c
@@ -203,6 +203,11 @@ i64 check_distance_between_types(Checker *c, Operand *operand, Type *type) {
}
}
+ // if (is_type_proc(dst)) {
+ // if (are_types_identical(src, dst)) {
+ // return 1;
+ // }
+ // }
if (is_type_any(dst)) {
// NOTE(bill): Anything can cast to `Any`