summaryrefslogtreecommitdiff
path: root/vala/valaproperty.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valaproperty.vala')
-rw-r--r--vala/valaproperty.vala9
1 files changed, 0 insertions, 9 deletions
diff --git a/vala/valaproperty.vala b/vala/valaproperty.vala
index b138c547d..241fd3654 100644
--- a/vala/valaproperty.vala
+++ b/vala/valaproperty.vala
@@ -435,15 +435,6 @@ public class Vala.Property : Member, Lockable {
Report.error (source_reference, "property type `%s` is less accessible than property `%s`".printf (property_type.to_string (), get_full_name ()));
}
- if (!is_internal_symbol ()) {
- if (property_type is ValueType && !property_type.is_real_struct_type ()) {
- analyzer.current_source_file.add_type_dependency (property_type, SourceFileDependencyType.HEADER_FULL);
- } else {
- analyzer.current_source_file.add_type_dependency (property_type, SourceFileDependencyType.HEADER_SHALLOW);
- }
- }
- analyzer.current_source_file.add_type_dependency (property_type, SourceFileDependencyType.SOURCE);
-
if (overrides && base_property == null) {
Report.error (source_reference, "%s: no suitable property found to override".printf (get_full_name ()));
}