implement #exists(path)

This commit is contained in:
Laytan Laats
2024-06-04 19:06:13 +02:00
parent 4f5b2bd127
commit b47a15733d
3 changed files with 80 additions and 24 deletions

View File

@@ -7408,6 +7408,7 @@ gb_internal ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *c
String name = bd->name.string;
if (
name == "location" ||
name == "exists" ||
name == "assert" ||
name == "panic" ||
name == "defined" ||