GNOME Bugzilla – Bug 601667
Lambda can return nothing when it should return something
Last modified: 2010-01-31 21:10:09 UTC
Created attachment 147553 [details] Test case A function which takes a delegate which returns a value can be called with a lambda which does not return a value (the attached test case should be clearer than that description). Annoyingly, gcc will compile the result without complaint.
*** This bug has been marked as a duplicate of bug 606478 ***