2009-01-09 Jürg Billeter <j@bitron.ch>
* vala/valalambdaexpression.vala:
Support lambda expressions throwing errors, fixes bug 563018
svn path=/trunk/; revision=2305
+2009-01-09 Jürg Billeter <j@bitron.ch>
+
+ * vala/valalambdaexpression.vala:
+
+ Support lambda expressions throwing errors, fixes bug 563018
+
2009-01-09 Jürg Billeter <j@bitron.ch>
* vala/valaparser.vala:
/* valalambdaexpression.vala
*
- * Copyright (C) 2006-2008 Jürg Billeter
+ * Copyright (C) 2006-2009 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
return false;
}
+ foreach (var error_type in cb.get_error_types ()) {
+ method.add_error_type (error_type.copy ());
+ }
+
if (expression_body != null) {
var block = new Block (source_reference);
block.scope.parent_scope = method.scope;