summaryrefslogtreecommitdiff
path: root/src/parser/parser_struct.c
diff options
context:
space:
mode:
authoriryuken <eshwarsajja20@gmail.com>2026-01-26 02:20:57 +0530
committerGitHub <noreply@github.com>2026-01-26 02:20:57 +0530
commit59951529ba67d3316a01afd45808c1b20b20c1e1 (patch)
treec3724437a8e659f0c3b425c59b4b1440f313ef59 /src/parser/parser_struct.c
parent5066e09fcac1a679d30afb89af1385352e9b5c60 (diff)
parent1fc29e1b1c505759522175478bb447cd3e4ad36d (diff)
Merge branch 'z-libs:main' into main
Diffstat (limited to 'src/parser/parser_struct.c')
-rw-r--r--src/parser/parser_struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/parser_struct.c b/src/parser/parser_struct.c
index cbe34c0..17d8e93 100644
--- a/src/parser/parser_struct.c
+++ b/src/parser/parser_struct.c
@@ -205,7 +205,7 @@ ASTNode *parse_impl(ParserContext *ctx, Lexer *l)
// RAII: Check for "Drop" trait implementation
if (strcmp(name1, "Drop") == 0)
{
- Symbol *s = find_symbol_entry(ctx, name2);
+ ZenSymbol *s = find_symbol_entry(ctx, name2);
if (s && s->type_info)
{
s->type_info->traits.has_drop = 1;
@@ -224,7 +224,7 @@ ASTNode *parse_impl(ParserContext *ctx, Lexer *l)
// Iterator: Check for "Iterable" trait implementation
else if (strcmp(name1, "Iterable") == 0)
{
- Symbol *s = find_symbol_entry(ctx, name2);
+ ZenSymbol *s = find_symbol_entry(ctx, name2);
if (s && s->type_info)
{
s->type_info->traits.has_iterable = 1;