public override bool Walk(ReturnStatement node)
        {
            var type = _scope.GetTypeFromValue(_scope.GetValueFromExpression(node.Expression));

            if (type != null)
            {
                _returnTypes.Add(type);
            }

            return(false);
        }