mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 15:27:06 -04:00
Remove let
This commit is contained in:
1 parent
c642e326ce
commit
a0d8dcd974
14 files changed
+30
-35
No files matched your search
@@ -5865,6 +5865,12 @@ ExprKind check_expr_base_internal(Checker *c, Operand *o, AstNode *node, Type *t
|
||||
check_close_scope(c);
|
||||
return kind;
|
||||
}
|
||||
|
||||
if (pl->body == NULL) {
|
||||
error(node, "A procedure literal must have a body");
|
||||
return kind;
|
||||
}
|
||||
|
||||
check_procedure_later(c, c->curr_ast_file, empty_token, decl, type, pl->body, pl->tags);
|
||||
}
|
||||
check_close_scope(c);
|
||||
|
||||
Reference in new issue
Block a user