#486: When using struct array of size 1 get "Non existent array element in
struct: count = 1 max=1"
-------------------+--------------------------------------------------------
 Reporter:  bsdz   |        Type:  bug   
   Status:  new    |    Priority:  minor 
Milestone:         |   Component:  core  
  Version:  trunk  |    Severity:  medium
 Keywords:         |        Lang:        
    Patch:         |    Platform:  all   
-------------------+--------------------------------------------------------
 When creating an array of structs with only one element char_offset_key
 does not recognize the pmc as an array. This looks like it is because it
 uses an internal var called max and assumes arrays always have size
 greater than 1.

 A workaround is to force an array of size 1 to be of size 2.

 An example test.pir to be attached.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/486>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to