diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-10-19 13:01:04 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-09-30 14:42:58 +0200 |
commit | 061c02a91056b2f8c8b4cc985db4aec9c0a235fc (patch) | |
tree | 32a66908183d59f04c77b1f4db204e5c482924d5 /vala/valanulltype.vala | |
parent | 2b00c992ed8f5ac900131f17a995abf992c20d64 (diff) | |
download | vala-061c02a91056b2f8c8b4cc985db4aec9c0a235fc.tar.gz |
vala: Rename DataType.data_type property to DataType.type_symbol
Diffstat (limited to 'vala/valanulltype.vala')
-rw-r--r-- | vala/valanulltype.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valanulltype.vala b/vala/valanulltype.vala index c82791447..92b02c8c0 100644 --- a/vala/valanulltype.vala +++ b/vala/valanulltype.vala @@ -36,7 +36,7 @@ public class Vala.NullType : ReferenceType { return target_type.nullable; } - if (!(target_type is PointerType) && (target_type is NullType || (target_type.data_type == null && !(target_type is GenericType)))) { + if (!(target_type is PointerType) && (target_type is NullType || (target_type.type_symbol == null && !(target_type is GenericType)))) { return true; } @@ -44,11 +44,11 @@ public class Vala.NullType : ReferenceType { if (target_type is GenericType || target_type is PointerType || target_type.nullable || - target_type.data_type.get_attribute ("PointerType") != null) { + target_type.type_symbol.get_attribute ("PointerType") != null) { return true; } - if (target_type.data_type.is_reference_type () || + if (target_type.type_symbol.is_reference_type () || target_type is ArrayType || target_type is DelegateType) { return true; |