aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-11 18:28:27 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-11 18:28:27 +0330
commit37f4ca67e760fee528b16f4a5aa56821935976a8 (patch)
treefe4631cb6878552ac020689a3ed21b37b943352f /src/compiler/ast-tree.h
parent65a33238c44b9be7a025aab84413324d776cfaf1 (diff)
fix recursive after function overloading
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index 85bd44e..e03405e 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -214,7 +214,6 @@ typedef struct AstTreeHelper {
typedef struct AstTreeSetTypesHelper {
AstTree *lookingType;
- AstTreeHelper *treeHelper;
AstTreeVariables dependencies;
} AstTreeSetTypesHelper;
@@ -316,7 +315,7 @@ bool typeIsEqual(AstTree *type0, AstTree *type1);
bool typeIsEqualBack(const AstTree *type0, const AstTree *type1);
AstTree *getValue(AstTree *tree);
-bool setAllTypesRoot(AstTreeRoot *root, AstTreeHelper *helper);
+bool setAllTypesRoot(AstTreeRoot *root);
bool setAllTypes(AstTree *tree, AstTreeSetTypesHelper helper,
AstTreeFunction *function, AstTreeFunctionCall *functionCall);
bool setTypesValueBool(AstTree *tree, AstTreeSetTypesHelper helper);