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/valaconstant.vala | |
parent | 2b00c992ed8f5ac900131f17a995abf992c20d64 (diff) | |
download | vala-061c02a91056b2f8c8b4cc985db4aec9c0a235fc.tar.gz |
vala: Rename DataType.data_type property to DataType.type_symbol
Diffstat (limited to 'vala/valaconstant.vala')
-rw-r--r-- | vala/valaconstant.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala index 0a9266cf1..2fc75afab 100644 --- a/vala/valaconstant.vala +++ b/vala/valaconstant.vala @@ -185,7 +185,7 @@ public class Vala.Constant : Symbol { } else if (type is ArrayType) { var array_type = type as ArrayType; return check_const_type (array_type.element_type, context); - } else if (type.data_type.is_subtype_of (context.analyzer.string_type.data_type)) { + } else if (type.type_symbol.is_subtype_of (context.analyzer.string_type.type_symbol)) { return true; } else { return false; |