From c9af33011ae54f2f40c99eeacdf20d582738e6fe Mon Sep 17 00:00:00 2001 From: SuperAuguste Date: Fri, 29 May 2020 16:07:00 -0400 Subject: [PATCH] fix function defs in containers --- src/analysis.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analysis.zig b/src/analysis.zig index 2dc015a..9e94623 100644 --- a/src/analysis.zig +++ b/src/analysis.zig @@ -1089,7 +1089,7 @@ fn addOutlineNodes(allocator: *std.mem.Allocator, children: *std.ArrayList(types .PrefixOp, .SuffixOp, .ControlFlowExpression, .ArrayInitializerDot, .SwitchElse, .SwitchCase, .For, .EnumLiteral, .PointerIndexPayload , .StructInitializerDot, .PointerPayload, .While, .Switch, .Else, .BoolLiteral, .NullLiteral, .Defer, - .StructInitializer, .FieldInitializer, .If, .FnProto, .MultilineStringLiteral, + .StructInitializer, .FieldInitializer, .If, .MultilineStringLiteral, .UndefinedLiteral, .VarType, .Block => return, .ContainerDecl => {