Issue #16373 has been updated by eric sorenson. Category set to language Status changed from Unreviewed to Accepted Assignee set to Henrik Lindberg Keywords set to DSL correctness
Can and should be cleaned up. ---------------------------------------- Feature #16373: Improve validation of Numbers https://projects.puppetlabs.com/issues/16373#change-72724 Author: Henrik Lindberg Status: Accepted Priority: Normal Assignee: Henrik Lindberg Category: language Target version: Affected Puppet version: Keywords: DSL correctness 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.
