[vala] Remove unused ObjectCreationExpression.constructor property



commit b14f58a60d87b91f035e4f00353eaba6d622e6a4
Author: Jürg Billeter <j bitron ch>
Date:   Sat Oct 23 18:10:14 2010 +0200

    Remove unused ObjectCreationExpression.constructor property

 vala/valacodewriter.vala               |    4 ++--
 vala/valaobjectcreationexpression.vala |    6 ------
 2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index 9904bbd..e7f91fc 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -1672,9 +1672,9 @@ public class Vala.CodeWriter : CodeVisitor {
 
 		write_type (expr.type_reference);
 
-		if (expr.constructor.name != ".new") {
+		if (expr.symbol_reference.name != ".new") {
 			write_string (".");
-			write_string (expr.constructor.name);
+			write_string (expr.symbol_reference.name);
 		}
 
 		write_string (" (");
diff --git a/vala/valaobjectcreationexpression.vala b/vala/valaobjectcreationexpression.vala
index d7cc008..51a1888 100644
--- a/vala/valaobjectcreationexpression.vala
+++ b/vala/valaobjectcreationexpression.vala
@@ -38,12 +38,6 @@ public class Vala.ObjectCreationExpression : Expression {
 	}
 
 	/**
-	 * The construction method to use. May be null to indicate that
-	 * the default construction method should be used.
-	 */
-	public Method constructor { get; set; }
-
-	/**
 	 * The construction method to use or the data type to be created
 	 * with the default construction method.
 	 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]