Issue #16373 has been reported by Henrik Lindberg.

----------------------------------------
Feature #16373: Improve validation of Numbers
https://projects.puppetlabs.com/issues/16373

Author: Henrik Lindberg
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Currently, the style guide states that numeric values should be stated using 
single quoted strings, i.e. that file mode, should be expressed as '0ooo' (o 
being an octal digit).
IMO, this is backwards; it would be far better if bare words that starts with a 
digit always validated as numeric; there is no way that can be done when 
expressed as a string. I propose that '0WTF', '0xWTF', and '123a' are legal, 
but not 0WTF (not octal), 0xWTF (not hex), nor 123a (not decimal). 




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