b3c8d52b25
Previously, Strings ignored the return type in Puppet language functions that used the following syntax: function foo() >> String {} This commit updates the FunctionStatement class to use the return type from such a statement if it exists. In addition, Strings will now emit a warning if the return type specified in the @return tag doesn't match the type specified in the function definition. |
||
---|---|---|
.. | ||
puppet | ||
puppet-strings | ||
puppet-strings.rb |