From 22b5d2e2c3fd41402a8509d5c5734d3bbc3eb039 Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Sun, 24 May 2020 00:15:35 +0300 Subject: [PATCH] Pass the arguments in the correct order dummy --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 8fe326b..9eb657c 100644 --- a/src/main.zig +++ b/src/main.zig @@ -245,7 +245,7 @@ fn nodeToCompletion( break :block var_decl.init_node.?; }; - if (analysis.resolveTypeOfNode(&child_analysis_context, current_container, child_node)) |resolved_node| { + if (analysis.resolveTypeOfNode(&child_analysis_context, child_node, current_container)) |resolved_node| { // Special case for function aliases // In the future it might be used to print types of values instead of their declarations if (resolved_node.id == .FnProto) {