Core: Misc

This commit is contained in:
Krzosa Karol
2023-04-22 13:28:01 +02:00
parent 654d6f17e4
commit b51a2080d2
5 changed files with 5 additions and 27 deletions

View File

@@ -338,7 +338,7 @@ Ast *ast_copy(Ast *ast, Ast_Scope *parent_scope, Array<Poly_Replacement> *repl)
case AST_UNION:
case AST_ENUM:
case AST_LAMBDA:
case AST_TYPE: // @cleanup: what is this used for?
case AST_TYPE:
case AST_CONST:
case AST_VAR: {
Ast_Decl *src = (Ast_Decl *)ast;