diff options
Diffstat (limited to 'vala/valacastexpression.vala')
-rw-r--r-- | vala/valacastexpression.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valacastexpression.vala b/vala/valacastexpression.vala index 1a1e6ad05..5dc5dc3e6 100644 --- a/vala/valacastexpression.vala +++ b/vala/valacastexpression.vala @@ -185,6 +185,7 @@ public class Vala.CastExpression : Expression { // GVariant unboxing returns owned value value_type.value_owned = true; if (value_type.get_type_signature () == null) { + error = true; Report.error (source_reference, "Casting of `GLib.Variant' to `%s' is not supported".printf (value_type.to_qualified_string ())); } } |