summaryrefslogtreecommitdiff
path: root/vala/valacatchclause.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valacatchclause.vala')
-rw-r--r--vala/valacatchclause.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/vala/valacatchclause.vala b/vala/valacatchclause.vala
index a0d895c50..269ba8861 100644
--- a/vala/valacatchclause.vala
+++ b/vala/valacatchclause.vala
@@ -65,7 +65,11 @@ public class Vala.CatchClause : CodeNode {
* @param source_reference reference to source code
* @return newly created catch clause
*/
- public CatchClause (construct DataType? type_reference, construct string variable_name, construct Block body, construct SourceReference source_reference = null) {
+ public CatchClause (DataType? type_reference, string variable_name, Block body, SourceReference source_reference = null) {
+ this.type_reference = type_reference;
+ this.variable_name = variable_name;
+ this.body = body;
+ this.source_reference = source_reference;
}
public override void accept (CodeVisitor visitor) {