]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Copy default_expression in FormalParameter.copy
authorEvan Nemerson <evan@coeus-group.com>
Sat, 10 Apr 2010 00:20:08 +0000 (17:20 -0700)
committerJürg Billeter <j@bitron.ch>
Mon, 28 Jun 2010 19:39:00 +0000 (21:39 +0200)
vala/valaformalparameter.vala

index 6212b6c8363dda770390f2a9fedc5b17eace346a..e01ad49faf7798165e6c498cb856d49a866f5d95 100644 (file)
@@ -207,6 +207,7 @@ public class Vala.FormalParameter : Symbol {
                        var result = new FormalParameter (name, parameter_type, source_reference);
                        result.params_array = params_array;
                        result.direction = this.direction;
+                       result.default_expression = this.default_expression;
                        return result;
                } else {
                        return new FormalParameter.with_ellipsis ();