From: Rico Tzschichholz Date: Sat, 17 Sep 2016 20:50:15 +0000 (+0200) Subject: Revert "valainterface: Don't allow 'type' properties" X-Git-Tag: 0.34.0~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e627ee4180435f23fa1d9c8a6b498df77fb39def;p=thirdparty%2Fvala.git Revert "valainterface: Don't allow 'type' properties" Breaks build of udisks2.vapi This reverts commit 8e4cdfd6488c467a3028831e8d6183286c4f399d. --- diff --git a/vala/valainterface.vala b/vala/valainterface.vala index f80427b98..621c6e8ce 100644 --- a/vala/valainterface.vala +++ b/vala/valainterface.vala @@ -204,11 +204,6 @@ public class Vala.Interface : ObjectTypeSymbol { return; } - if (prop.name == "type") { - Report.error (prop.source_reference, "Property 'type' not allowed"); - return; - } - properties.add (prop); scope.add (prop.name, prop);