GNOME Bugzilla – Bug 696710
HashSet.foreach((x) => { return true; }) should return true
Last modified: 2013-03-31 15:42:35 UTC
Created attachment 239965 [details] [review] HashSet.Iterator: return true from foreach() if we fall off the end This is documented to happen, and was implemented correctly in the other collections, but not in HashSet. --- The patch says it all, and includes a regression test.
Review of attachment 239965 [details] [review]: Looks good. It should go to master, 0.10 and 0.8 branches.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.