Jira (PUP-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-18 Thread Steve Barlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Barlow updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4008 
 
 
 
  Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 

Change By:
 
 Steve Barlow 
 
 
 

Sprint:
 
 Language2015-02-18 ,Language2015-03-04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-18 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson commented on  PUP-4008 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 
 
verified on ubuntu14 at SHA: 6d0dd88 
 
 
 
 
 
 
root@rxkca6epms4gput:~# puppet apply -e '$z_hash = Hash[String,String] notice($z_hash)' 
 
 
 
 
Notice: Scope(Class[main]): Hash[String, String] 
 
 
 
 
Notice: Compiled catalog for rxkca6epms4gput.delivery.puppetlabs.net in environment production in 0.34 seconds 
 
 
 
 
Notice: Applied catalog in 0.02 seconds 
 
 
 
 
root@rxkca6epms4gput:~# puppet apply -e '$z_hash = Hash[Undef,Undef,0,0] notice($z_hash)' 
 
 
 
 
Notice: Scope(Class[main]): Hash[Undef, Undef, 0, 0] 
 
 
 
 
Notice: Compiled catalog for rxkca6epms4gput.delivery.puppetlabs.net in environment production in 0.32 seconds 
 
 
 
 
Notice: Applied catalog in 0.01 seconds 
 
 
 
 
root@rxkca6epms4gput:~# puppet apply -e '$z_hash = Hash[Undef,Undef] notice($z_hash)' 
 
 
 
 
 

Jira (PUP-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-18 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4008 
 
 
 
  Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-18 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4008 
 
 
 
  Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Contact:
 
 KurtWall EricThompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-4008 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 
 
merged to stable at 0dd8797433ee64e58ab6ef2fc79575be7477f7da 
merged to master at 0b0c2efdf951e5593bfbe7f7099ccf5e7ec3ba17 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-14 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4008 
 
 
 
  Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 ThomasHallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-4008) Inferred type of empty hash not assignable to HashString,String

2015-02-13 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4008 
 
 
 
  Inferred type of empty hash not assignable to HashString,String  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 DSL 
 
 
 

Created:
 

 2015/02/13 5:40 AM 
 
 
 

Fix Versions:
 

 PUP 3.7.5 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
An empty hash is correctly considered an instance of Hash[String,String] but its inferred type Hash[Undef,Undef,0,0] is not assignable. This is not correct. The inferred type of an empty hash must be assignable to any Hash type that accepts zero entries. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment