diff options
author | Corentin Noël <corentin@elementary.io> | 2016-01-14 16:19:05 +0100 |
---|---|---|
committer | Ben Iofel <iofelben@gmail.com> | 2016-01-28 17:21:07 -0500 |
commit | fa93dbe75dad9b0714111638b138be45bf25f54c (patch) | |
tree | 89e2a2a509f8bf000dc6e0d5ccee326dc4cbcffc /vala | |
parent | 4493ff34cf5aacd1c6b41c2f0b2e5d5caefc178e (diff) | |
download | vala-fa93dbe75dad9b0714111638b138be45bf25f54c.tar.gz |
vala: check for null parent symbol
Diffstat (limited to 'vala')
-rw-r--r-- | vala/valadelegatetype.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valadelegatetype.vala b/vala/valadelegatetype.vala index 704f98c8b..11ba57f00 100644 --- a/vala/valadelegatetype.vala +++ b/vala/valadelegatetype.vala @@ -51,7 +51,7 @@ public class Vala.DelegateType : DataType { // logic temporarily duplicated from DataType class Symbol global_symbol = delegate_symbol; - while (global_symbol.parent_symbol.name != null) { + while (global_symbol.parent_symbol != null && global_symbol.parent_symbol.name != null) { global_symbol = global_symbol.parent_symbol; } |