summaryrefslogtreecommitdiff
path: root/vala/valapointerindirection.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valapointerindirection.vala')
-rw-r--r--vala/valapointerindirection.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/vala/valapointerindirection.vala b/vala/valapointerindirection.vala
index a874e4bf0..9d95c9a15 100644
--- a/vala/valapointerindirection.vala
+++ b/vala/valapointerindirection.vala
@@ -47,7 +47,9 @@ public class Vala.PointerIndirection : Expression {
* @param inner pointer to be dereferenced
* @return newly created pointer indirection
*/
- public PointerIndirection (construct Expression inner, construct SourceReference source_reference = null) {
+ public PointerIndirection (Expression inner, SourceReference source_reference = null) {
+ this.source_reference = source_reference;
+ this.inner = inner;
}
public override void accept (CodeVisitor visitor) {