https://bugzilla.gnome.org/show_bug.cgi?id=795225
objects/bug779955.vala \
objects/bug783897.vala \
objects/bug788964.vala \
+ objects/bug795225-1.test \
errors/catch-error-code.vala \
errors/errors.vala \
errors/bug567181.vala \
--- /dev/null
+Invalid Code
+
+abstract class Foo {
+ public abstract int bar {
+ get {
+ return 23;
+ }
+ }
+}
+
+void main () {
+}
return false;
}
+ if (body != null && prop.is_abstract) {
+ error = true;
+ Report.error (source_reference, "Accessor of abstract property `%s' cannot have body".printf (prop.get_full_name ()));
+ return false;
+ }
+
if (body != null) {
if (writable || construction) {
body.scope.add (value_parameter.name, value_parameter);