aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-02-20 08:47:48 +0000
committerGitHub <noreply@github.com>2025-02-20 08:47:48 +0000
commit82ddf358d0a319ba0eefd838bb80cf526daf9dcb (patch)
tree0d432e0952d0c207f186407bd06a610e7e74e6dc /src/check_expr.cpp
parentf0b1357132de38e9dad0964ebe4c21db1ed4f430 (diff)
parent29456bcdea6e9567a9655e49a948f9e57920ff7a (diff)
Merge pull request #4855 from odin-lang/bill/canonical-type-hashing
Deterministic Canonical Naming for Link Names and Types
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 550a7749c..f0021e67f 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -345,7 +345,7 @@ gb_internal void check_scope_decls(CheckerContext *c, Slice<Ast *> const &nodes,
check_collect_entities(c, nodes);
for (auto const &entry : s->elements) {
- Entity *e = entry.value;
+ Entity *e = entry.value;\
switch (e->kind) {
case Entity_Constant:
case Entity_TypeName: