[vala] dova: Fix public fields in Dova.Object



commit c8b366a4ba7d424b23dc0ecf9097707b6d7ce79c
Author: Jürg Billeter <j bitron ch>
Date:   Fri Jul 16 16:49:59 2010 +0200

    dova: Fix public fields in Dova.Object

 vala/valaclass.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index b22b009..b09c09b 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]