diff options
Diffstat (limited to 'src/parser/parser_struct.c')
| -rw-r--r-- | src/parser/parser_struct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/parser_struct.c b/src/parser/parser_struct.c index 8eed017..e776bb8 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; |
