Issue #19812 has been updated by Erik Dalén. Target version set to Waldorf
---------------------------------------- Bug #19812: The function API has "interesting" type conversions https://projects.puppetlabs.com/issues/19812#change-90080 * Author: Erik Dalén * Status: Needs Decision * Priority: Normal * Assignee: eric sorenson * Category: functions * Target version: Waldorf * Affected Puppet version: 3.1.1 * Keywords: argument args types * Branch: ---------------------------------------- The type of parameters passed to functions is just weird: foo(1) - String "1" foo(1+1) - String "2" foo($processorcount) - Numeric foo(1*1) - Numeric 1 foo(1.0) - String "1.0" foo(1.0+1) - Numeric 2.0 foo(1.0*1) - Numeric 1.0 foo("1"+"1") - String "2" foo(undef) - String "" -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
