mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
+2
-1
@@ -1931,7 +1931,8 @@ bool check_type_internal(Checker *c, AstNode *e, Type **type, Type *named_type)
|
|||||||
Scope *s = c->context.scope;
|
Scope *s = c->context.scope;
|
||||||
Scope *entity_scope = s;
|
Scope *entity_scope = s;
|
||||||
if (ps != nullptr && ps != s) {
|
if (ps != nullptr && ps != s) {
|
||||||
GB_ASSERT(is_scope_an_ancestor(ps, s) >= 0);
|
// TODO(bill): Is this check needed?
|
||||||
|
// GB_ASSERT_MSG(is_scope_an_ancestor(ps, s) >= 0);
|
||||||
entity_scope = ps;
|
entity_scope = ps;
|
||||||
}
|
}
|
||||||
Entity *e = alloc_entity_type_name(entity_scope, token, t);
|
Entity *e = alloc_entity_type_name(entity_scope, token, t);
|
||||||
|
|||||||
+1
-1
@@ -250,7 +250,7 @@ gb_global i64 const signed_integer_mins[] = {
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
-9223372036854775808ll,
|
(-9223372036854775807ll - 1ll),
|
||||||
};
|
};
|
||||||
gb_global i64 const signed_integer_maxs[] = {
|
gb_global i64 const signed_integer_maxs[] = {
|
||||||
0,
|
0,
|
||||||
|
|||||||
Reference in New Issue
Block a user