Issue #3907 has been updated by James Turnbull.

Status changed from Accepted to Ready for Checkin
Branch set to http://github.com/masterzen/puppet/tree/tickets/master/3907


----------------------------------------
Bug #3907: Hashes can't be empty
http://projects.puppetlabs.com/issues/3907

Author: Luke Kanies
Status: Ready for Checkin
Priority: High
Assigned to: Brice Figureau
Category: parser
Target version: 2.6
Affected version: development
Keywords: 
Branch: http://github.com/masterzen/puppet/tree/tickets/master/3907


The following code fails:
<pre>
class foo {
    $data = {}
    $data[one] = true
    $data[two] = false
    $data[three] = "Something"
}

include foo
</pre>
in master with:
<pre>
undefined method `each_pair' for nil:NilClass 
</pre>


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