private void InferType(FunctionDeclaration node) { if (node.Type == null) { node.SetType(NodeHelper.CreateNode(NodeKind.VoidKeyword)); } }