]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Remove unused ObjectCreationExpression.constructor property
authorJürg Billeter <j@bitron.ch>
Sat, 23 Oct 2010 16:10:14 +0000 (18:10 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 23 Oct 2010 16:11:47 +0000 (18:11 +0200)
vala/valacodewriter.vala
vala/valaobjectcreationexpression.vala

index 9904bbd5738c61319497618f1fb3a3323b6c4a40..e7f91fcc8e01536cf70e3a5a1998a33e5b91457e 100644 (file)
@@ -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 (" (");
index d7cc00822e3a388f4ea3ce5da441416d0e745508..51a18881f394ea13ab6d76aea2f12c774800d256 100644 (file)
@@ -37,12 +37,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.