Ticket #723: fix-functions-to-be-statements.patch
| File fix-functions-to-be-statements.patch, 0.5 kB (added by DavidS, 1 year ago) |
|---|
-
a/lib/puppet/parser/ast/function.rb
old new 5 5 class Function < AST::Branch 6 6 attr_accessor :name, :arguments 7 7 8 @settor = true 8 def settor? 9 not Puppet::Parser::Functions.rvalue?(@name) 10 end 9 11 10 12 def evaluate(hash) 11 13 # We don't need to evaluate the name, because it's plaintext