From ce253ec2ae45879b331d9b9f77f786b78fbfcf2e Mon Sep 17 00:00:00 2001 From: A404M Date: Thu, 30 Jan 2025 09:20:48 +0330 Subject: fix bugs --- src/compiler/ast-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/ast-tree.h') diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 2e43973..645ef5f 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -140,7 +140,7 @@ AstTree *astTreeParseVariable(ParserNode *parserNode, size_t variables_size); bool hasTypeOf(AstTree *value, const AstTree *type); -bool isFunction(AstTree *value); +AstTreeFunction* getFunction(AstTree *value); bool isConst(AstTree *value); AstTree *makeTypeOf(AstTree *value); bool typeIsEqual(const AstTree *type0, const AstTree *type1); -- cgit v1.2.3