From: Jürg Billeter Date: Fri, 16 Jul 2010 14:49:59 +0000 (+0200) Subject: dova: Fix public fields in Dova.Object X-Git-Tag: 0.9.4~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8b366a4ba7d424b23dc0ecf9097707b6d7ce79c;p=thirdparty%2Fvala.git dova: Fix public fields in Dova.Object --- diff --git a/vala/valaclass.vala b/vala/valaclass.vala index b22b0093b..b09c09bdb 100644 --- a/vala/valaclass.vala +++ b/vala/valaclass.vala @@ -288,7 +288,7 @@ public class Vala.Class : ObjectTypeSymbol { if (CodeContext.get ().profile == Profile.DOVA && f.binding == MemberBinding.INSTANCE && (f.access == SymbolAccessibility.PUBLIC || f.access == SymbolAccessibility.PROTECTED) && - name != "string" /* temporary workaround */) { + !CodeContext.get ().nostdpkg) { // public/protected instance fields not supported, convert to automatic property var prop = new Property (f.name, f.field_type.copy (), null, null, f.source_reference, comment);