summaryrefslogtreecommitdiff
path: root/vala/valaconstant.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-10-19 13:01:04 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-09-30 14:42:58 +0200
commit061c02a91056b2f8c8b4cc985db4aec9c0a235fc (patch)
tree32a66908183d59f04c77b1f4db204e5c482924d5 /vala/valaconstant.vala
parent2b00c992ed8f5ac900131f17a995abf992c20d64 (diff)
downloadvala-061c02a91056b2f8c8b4cc985db4aec9c0a235fc.tar.gz
vala: Rename DataType.data_type property to DataType.type_symbol
Diffstat (limited to 'vala/valaconstant.vala')
-rw-r--r--vala/valaconstant.vala2
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;