diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-01-27 23:02:55 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-01-27 23:02:55 +0000 |
| commit | 31aacd5bf435224c7d8f9b19359175d3e6d25660 (patch) | |
| tree | ab9d62de198d9874e1afb7212ab3feb46fde4f01 /src/check_expr.c | |
| parent | 92453369c5558feaaaa116fbc54968b087e1aeab (diff) | |
Fix parsing for block/if expression within if/for/etc. statementsv0.0.6
Diffstat (limited to 'src/check_expr.c')
| -rw-r--r-- | src/check_expr.c | 5 |
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` |