mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Make stdlib mem::allocator more complete. (#1238)
Make stdlib mem::allocator more complete. Fill in some gaps and docstrings. List.to_new_array. Handle overalignment smoothly in list.
This commit is contained in:
committed by
GitHub
parent
bc0d52142a
commit
b18661a8b0
@@ -3276,7 +3276,7 @@ static inline bool sema_expr_analyse_type_access(SemaContext *context, Expr *exp
|
||||
return false;
|
||||
}
|
||||
Decl *decl = canonical->decl;
|
||||
|
||||
if (!decl_ok(decl)) return false;
|
||||
switch (decl->decl_kind)
|
||||
{
|
||||
case DECL_ENUM:
|
||||
|
||||
Reference in New Issue
Block a user