summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-24 14:39:49 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-24 14:39:49 -0400
commitca08551d7122f46db01b4ef58bd820671aa2f33a (patch)
treec331889c39dde616973de4cccbc124ffa05690ed
parentde3116ca0cac2fc431b9b567f25673468891d2bc (diff)
started while
-rw-r--r--types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.c b/types.c
index 021c3ee..796b5f8 100644
--- a/types.c
+++ b/types.c
@@ -384,7 +384,7 @@ static bool type_of_expr(Typer *tr, Expression *e) {
if (!types_block(tr, &w->body))
return false;
if (!type_of_expr()) {
- /* TODO: is type_of_expr really necessary? why not just never descend into fns unless it's a decl? */
+ /* TODO: is type_of_expr vs types_expr really necessary? */
}
*t = w->body.ret_expr->type;
} break;