vala r2148 - in trunk: . gobject



Author: juergbi
Date: Sun Dec 14 22:15:47 2008
New Revision: 2148
URL: http://svn.gnome.org/viewvc/vala?rev=2148&view=rev

Log:
2008-12-14  JÃrg Billeter  <j bitron ch>

	* gobject/valaccodebasemodule.vala:

	Detect unsupported generic type arguments in local variable
	declarations


Modified:
   trunk/ChangeLog
   trunk/gobject/valaccodebasemodule.vala

Modified: trunk/gobject/valaccodebasemodule.vala
==============================================================================
--- trunk/gobject/valaccodebasemodule.vala	(original)
+++ trunk/gobject/valaccodebasemodule.vala	Sun Dec 14 22:15:47 2008
@@ -1345,6 +1345,8 @@
 	}
 
 	public override void visit_local_variable (LocalVariable local) {
+		check_type (local.variable_type);
+
 		local.accept_children (codegen);
 
 		if (local.variable_type is ArrayType) {



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