vala r1443 - in trunk: . vala



Author: jamiemcc
Date: Mon May 26 04:10:26 2008
New Revision: 1443
URL: http://svn.gnome.org/viewvc/vala?rev=1443&view=rev

Log:
2008-05-26  Jamie McCracken  <jamiemcc gnome org>

	* vala/valagenieparser.vala:

	Deprecate static classes


Modified:
   trunk/ChangeLog
   trunk/vala/valagenieparser.vala

Modified: trunk/vala/valagenieparser.vala
==============================================================================
--- trunk/vala/valagenieparser.vala	(original)
+++ trunk/vala/valagenieparser.vala	Mon May 26 04:10:26 2008
@@ -2205,6 +2205,7 @@
 		}
 		if (ModifierFlags.STATIC in flags) {
 			cl.is_static = true;
+			Report.warning (get_last_src (), "static classes are deprecated, use namespaces");
 		}
 		set_attributes (cl, attrs);
 		foreach (TypeParameter type_param in type_param_list) {



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