diff options
Diffstat (limited to 'vala/valanulltype.vala')
-rw-r--r-- | vala/valanulltype.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valanulltype.vala b/vala/valanulltype.vala index a2d2977c3..744a95954 100644 --- a/vala/valanulltype.vala +++ b/vala/valanulltype.vala @@ -46,7 +46,7 @@ public class Vala.NullType : ReferenceType { if (target_type.data_type.is_reference_type () || target_type is ArrayType || - target_type.data_type is Delegate) { + target_type is DelegateType) { // incompatibility between null and non-null types return !enable_non_null; } |