From 7bbed02208029912c26f709b158245dd0703a5e7 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Fri, 17 Aug 2018 15:12:45 +0200 Subject: [PATCH] vala: Don't bail early on property with not supported default value This avoids independent consequential errors. --- vala/valaproperty.vala | 2 -- 1 file changed, 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) { -- 2.11.4.GIT