diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-08-17 15:12:45 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-08-17 15:18:53 +0200 |
commit | 7bbed02208029912c26f709b158245dd0703a5e7 (patch) | |
tree | 1adb5f780952a7bea31b0582bcddca937e67e3a0 | |
parent | 746530b8343c1c00d38507236b8bfab12da13c94 (diff) | |
download | vala-7bbed02208029912c26f709b158245dd0703a5e7.tar.gz |
vala: Don't bail early on property with not supported default value
This avoids independent consequential errors.
-rw-r--r-- | vala/valaproperty.vala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vala/valaproperty.vala b/vala/valaproperty.vala index c873f29d3..cd1bcaff5 100644 --- a/vala/valaproperty.vala +++ b/vala/valaproperty.vala @@ -480,9 +480,7 @@ public class Vala.Property : Symbol, Lockable { } if (initializer != null && field == null && !is_abstract) { - error = true; Report.error (source_reference, "Property `%s' with custom `get' accessor and/or `set' mutator cannot have `default' value".printf (get_full_name ())); - return false; } if (initializer != null) { |