]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
subroutine: Set parent_node of body block
authorTimm Bäder <mail@baedert.org>
Tue, 1 Nov 2016 09:35:47 +0000 (10:35 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 24 Mar 2017 20:45:46 +0000 (21:45 +0100)
vala/valasubroutine.vala

index 73cab986c925ff22e0a64b20d992f29289f6e034..e9c05ac23feefa109413ad2c514a78c1482c270e 100644 (file)
@@ -46,6 +46,7 @@ public abstract class Vala.Subroutine : Symbol {
                        _body = value;
                        if (_body != null) {
                                _body.owner = scope;
+                               _body.parent_node = this;
                        }
                }
        }