Issue #8102 has been updated by Daniel Pittman.

Target version changed from 2.7.x to 2.7.9


----------------------------------------
Bug #8102: parser cannot handle negative variable values for classes
https://projects.puppetlabs.com/issues/8102#change-57154

Author: Andreas Roth
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 2.7.9
Affected Puppet version: 2.7.1
Keywords: 
Branch: 


The folloing code results in an error message:
    class test($var = -3) {
    }
    class {
    'test':
    var => -5;
    }
    
The error message is as follows:
Could not parse for environment production: Syntax error at '-'; expected ')' 
at /tmp/minus.pp:1 on node xxx



-- 
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