aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-06-04 19:06:13 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-06-04 19:06:13 +0200
commitb47a15733df5d0cb858a2be0d4eb334df3d50536 (patch)
treeaa076dfd8690ca0d5ab8647166019ca6d9afdb6e /src/check_expr.cpp
parent4f5b2bd12736b32c0a35496e8ca8f03d305c54b4 (diff)
implement `#exists(path)`
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 2e008fe93..3bf2af24a 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -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" ||