summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-08-17 15:12:45 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-08-17 15:18:53 +0200
commit7bbed02208029912c26f709b158245dd0703a5e7 (patch)
tree1adb5f780952a7bea31b0582bcddca937e67e3a0
parent746530b8343c1c00d38507236b8bfab12da13c94 (diff)
downloadvala-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.vala2
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) {