[vala] dova: Support internal fields



commit d01cc682700fce59cea5b3b689456f09a70b3910
Author: Jürg Billeter <j bitron ch>
Date:   Thu Jun 17 22:01:43 2010 +0200

    dova: Support internal fields

 codegen/valadovamemberaccessmodule.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valadovamemberaccessmodule.vala b/codegen/valadovamemberaccessmodule.vala
index 0be4ff2..8bc36c7 100644
--- a/codegen/valadovamemberaccessmodule.vala
+++ b/codegen/valadovamemberaccessmodule.vala
@@ -109,7 +109,7 @@ internal class Vala.DovaMemberAccessModule : DovaControlFlowModule {
 
 				var cl = instance_target_type.data_type as Class;
 				bool dova_priv = false;
-				if (f.access == SymbolAccessibility.PRIVATE &&
+				if ((f.access == SymbolAccessibility.PRIVATE || f.access == SymbolAccessibility.INTERNAL) &&
 				    (cl.base_class == null || cl.base_class.get_full_name () != "Dova.Value")) {
 					dova_priv = true;
 				}



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