[vala] GAsync: Remove check for reference parameter types in async methods
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] GAsync: Remove check for reference parameter types in async methods
- Date: Sun, 13 Sep 2009 15:29:35 +0000 (UTC)
commit 826f74981e36c83f84d60a6a197bf6451c12c59d
Author: Didier 'Ptitjes <ptitjes free fr>
Date: Tue Jul 14 14:02:56 2009 +0200
GAsync: Remove check for reference parameter types in async methods
Signed-off-by: Didier 'Ptitjes <ptitjes free fr>
vala/valamethod.vala | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index 1e69545..8f3af49 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -676,16 +676,6 @@ public class Vala.Method : Member {
process_attributes ();
- if (coroutine) {
- foreach (var param in parameters) {
- if (param.direction != ParameterDirection.IN) {
- error = true;
- Report.error (param.source_reference, "Reference parameter types are not yet supported for yielding functions");
- return false;
- }
- }
- }
-
if (is_abstract) {
if (parent_symbol is Class) {
var cl = (Class) parent_symbol;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]