[vala] Copy default_expression in FormalParameter.copy
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Copy default_expression in FormalParameter.copy
- Date: Mon, 28 Jun 2010 19:42:18 +0000 (UTC)
commit 589edc7aec4e95e8249f99dc703bb799203ac89f
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Apr 9 17:20:08 2010 -0700
Copy default_expression in FormalParameter.copy
vala/valaformalparameter.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vala/valaformalparameter.vala b/vala/valaformalparameter.vala
index 6212b6c..e01ad49 100644
--- a/vala/valaformalparameter.vala
+++ b/vala/valaformalparameter.vala
@@ -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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]