Hi,
Boolean Attributes
---
The current grammar (and future parser) accepts an attribute operation
with the name being a Boolean value. Have you ever seen $true or $false
as parameters in a class, define or type?
i.e.
define foo ($true) {
}
foo { the_foo: true => false }
Can we get rid of this, it is bad enough that all other keywords can be
used (if, unless, case, class, define, etc. etc.)
Exported with whitespace
---
The grammar allows the two @@ in an exported resource expression
to be separated by whitepsace. (Both current and future parser).
i.e.
@
# yes, this works
#
@
notify { exported1: message => 'wat' }
@ /* its a little bit odd... */ @
notify { exported2: message => 'wat' }
This creates two exported notify resources.
Can we disallow whitespace between the two @ ?
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-dev/lq9rjo%24emd%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.