From e627ee4180435f23fa1d9c8a6b498df77fb39def Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 17 Sep 2016 22:50:15 +0200 Subject: Revert "valainterface: Don't allow 'type' properties" Breaks build of udisks2.vapi This reverts commit 8e4cdfd6488c467a3028831e8d6183286c4f399d. --- vala/valainterface.vala | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vala/valainterface.vala') 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); -- cgit v1.2.1