mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 08:38:51 +00:00
Fix typo in ? array lengths error
This commit is contained in:
+1
-1
@@ -2548,7 +2548,7 @@ bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, Type *named_t
|
|||||||
generic_type = o.type;
|
generic_type = o.type;
|
||||||
}
|
}
|
||||||
if (count < 0) {
|
if (count < 0) {
|
||||||
error(at->count, "... can only be used in conjuction with compound literals");
|
error(at->count, "? can only be used in conjuction with compound literals");
|
||||||
count = 0;
|
count = 0;
|
||||||
}
|
}
|
||||||
Type *elem = check_type_expr(ctx, at->elem, nullptr);
|
Type *elem = check_type_expr(ctx, at->elem, nullptr);
|
||||||
|
|||||||
Reference in New Issue
Block a user