Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Bug PUP-978
multiple literal default entries in case should raise error
Multiple 'default' entries should result in a parse error. It creates an ambiguity. Consider the following examples:

{code}
case 10 {
  default : { notice 'nbr1' }
  default : { notice 'nbr2' }
}
# => notices nbr 2

case default {
  default : { notice 'nbr1 }
  default : { notice 'nbr2' }
}
# => notices nbr1
{code}

The solution is to val...

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to