Issue #5935 has been updated by Charlie Sharpsteen. Keywords set to customer
---------------------------------------- Bug #5935: Functions not accepting negative numbers https://projects.puppetlabs.com/issues/5935#change-88723 * Author: James Turnbull * Status: Rejected * Priority: High * Assignee: * Category: parser * Target version: * Affected Puppet version: 2.6.4 * Keywords: customer * Branch: ---------------------------------------- For example: <pre> info("Status",versioncmp(-1,2)) </pre> is returning: <pre> Could not parse for environment production: Syntax error at '-'; expected ')' <pre> whereas: <pre> $var=-1 info("Status",versioncmp($var,2)) </pre> is giving: <pre> private method `scan' called for -1:Fixnum </pre> -- 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.
