Skip to content

Commit c0a4000

Browse files
committed
added missing return statements after default action was called.
1 parent 8fa5be1 commit c0a4000

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/ArgTree.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public class ArgTree: ParserNode {
133133
if let defaultAction = defaultAction {
134134
defaultAction()
135135
}
136+
return 0
136137
}
137138
return try parseTree(arguments: arguments, atIndex: i, path: path, childParsers: parsers)
138139
}

0 commit comments

Comments
 (0)