[vala/wip/baedert/nullable: 1/4] subroutine: Set parent_node of body block
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/baedert/nullable: 1/4] subroutine: Set parent_node of body block
- Date: Tue, 1 Nov 2016 14:40:08 +0000 (UTC)
commit ac055933fe84e83fe9eecc594a55c8b9bf31f468
Author: Timm Bäder <mail baedert org>
Date: Tue Nov 1 10:35:47 2016 +0100
subroutine: Set parent_node of body block
vala/valasubroutine.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vala/valasubroutine.vala b/vala/valasubroutine.vala
index 73cab98..e9c05ac 100644
--- a/vala/valasubroutine.vala
+++ b/vala/valasubroutine.vala
@@ -46,6 +46,7 @@ public abstract class Vala.Subroutine : Symbol {
_body = value;
if (_body != null) {
_body.owner = scope;
+ _body.parent_node = this;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]