From: Rico Tzschichholz Date: Fri, 17 Aug 2018 13:12:45 +0000 (+0200) Subject: vala: Don't bail early on property with not supported default value X-Git-Tag: 0.41.92~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fkeep-around%2F7bbed02208029912c26f709b158245dd0703a5e7;p=thirdparty%2Fvala.git vala: Don't bail early on property with not supported default value This avoids independent consequential errors. --- 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) {