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.
|
||
|---|---|---|
| .. | ||
| acceptance | ||
| fixtures | ||
| unit/puppet-strings | ||
| spec_helper.rb | ||
| spec_helper_acceptance.rb | ||