summaryrefslogtreecommitdiff
path: root/vala/valafield.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valafield.vala')
-rw-r--r--vala/valafield.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valafield.vala b/vala/valafield.vala
index 6bd54ff95..77c43ffcd 100644
--- a/vala/valafield.vala
+++ b/vala/valafield.vala
@@ -99,6 +99,7 @@ public class Vala.Field : Variable, Lockable {
}
variable_type.check (context);
+ context.analyzer.check_type (variable_type);
// check whether field type is at least as accessible as the field
if (!context.analyzer.is_type_accessible (this, variable_type)) {