Jira (PUP-4010) Please error on non boolean conditionnal with future parser
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-4010 Please error on non boolean conditionnal with future parser Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4010) Please error on non boolean conditionnal with future parser
Title: Message Title John Duarte updated an issue Puppet / PUP-4010 Please error on non boolean conditionnal with future parser Change By: John Duarte Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4010) Please error on non boolean conditionnal with future parser
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4010 Please error on non boolean conditionnal with future parser Change By: Josh Cooper In Puppet 3, an empty string is evaluated as false, but with future parser it is evaluated as true.Example: {code:puppet} if '' { fail('This fails on Puppet4')} {code} As this is very subtle, I propose to error when a condition is a string.At least, warn when the condition is an empty string.See https://github.com/example42/puppet-ntp/pull/29/files, for an example of affected module. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4010) Please error on non boolean conditionnal with future parser
Title: Message Title Mathieu Parent updated an issue Puppet / PUP-4010 Please error on non boolean conditionnal with future parser Change By: Mathieu Parent Summary: Error Pleaseerror onnonbooleanconditionnalwithfutureparser Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4010) Please error on non boolean conditionnal with future parser
Title: Message Title Henrik Lindberg commented on PUP-4010 Re: Please error on non boolean conditionnal with future parser You (and others) would probably not like the output if it always were to warn - as code moves forward you want to interpret the opposite as correct (i.e. '' is indeed true). It would need to be a special mode to find such problems. We are currently discussing ways to help with the migration from 3x. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.