Issue #5935 has been updated by James Turnbull.

Target version deleted (2.6.6)


----------------------------------------
Bug #5935: Functions not accepting negative numbers
https://projects.puppetlabs.com/issues/5935

Author: James Turnbull
Status: Rejected
Priority: High
Assignee: 
Category: parser
Target version: 
Affected Puppet version: 2.6.4
Keywords: 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to