#145: Wrong behavior for concat inside iter
------------------------+---------------------------------------------------
 Reporter:  fgiraldeau  |       Owner:  fgiraldeau
     Type:  defect      |      Status:  new       
 Priority:  minor       |   Milestone:  next      
Component:  Augeas      |     Version:  0.7.0     
 Keywords:              |  
------------------------+---------------------------------------------------
 The following lens had a wrong behavior:

 {{{
 module Pass_iter_concat =

 let l1 = [ key "a" . del "x" "x" ]
 let l2 = [ key "b" . del "y" "y" ]
 let l3 = (l1 . l2)*

 test l3 get "axbyaxby" = ?
 }}}
 Actual result is: { "a" }{ "a" }{ "b" }

 But the expected result is: { "a" }{ "b" }{ "a" }{ "b" }

 A node is drop. Confirmed with 0.7.3, but doesn't affect any module.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/145>
Augeas <http://augeas.net/>
a configuration API

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to