From a370961218589f0dc10a1e4e4f501d44fa47406a Mon Sep 17 00:00:00 2001 From: Mattia Giambirtone Date: Mon, 1 Aug 2022 11:36:23 +0200 Subject: [PATCH] Removed debug print --- src/frontend/compiler.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frontend/compiler.nim b/src/frontend/compiler.nim index c47cd6f..73fe96a 100644 --- a/src/frontend/compiler.nim +++ b/src/frontend/compiler.nim @@ -1331,7 +1331,6 @@ proc checkCallIsPure(self: Compiler, node: ASTnode): bool = proc callExpr(self: Compiler, node: CallExpr): Name {.discardable.} = ## Compiles code to call a function - echo node var args: seq[tuple[name: string, kind: Type]] = @[] var argExpr: seq[Expression] = @[] var kind: Type @@ -1339,7 +1338,6 @@ proc callExpr(self: Compiler, node: CallExpr): Name {.discardable.} = # TODO: Keyword arguments for i, argument in node.arguments.positionals: kind = self.inferType(argument) - echo argument if kind.isNil(): if argument.kind == identExpr: self.error(&"reference to undeclared name '{IdentExpr(argument).name.lexeme}'")