vala r941 - in trunk: . vala



Author: juergbi
Date: Fri Feb  1 13:58:14 2008
New Revision: 941
URL: http://svn.gnome.org/viewvc/vala?rev=941&view=rev

Log:
2008-02-01  Juerg Billeter  <j bitron ch>

	* vala/valasemanticanalyzer.vala: fix casts to delegate types


Modified:
   trunk/ChangeLog
   trunk/vala/valasemanticanalyzer.vala

Modified: trunk/vala/valasemanticanalyzer.vala
==============================================================================
--- trunk/vala/valasemanticanalyzer.vala	(original)
+++ trunk/vala/valasemanticanalyzer.vala	Fri Feb  1 13:58:14 2008
@@ -2254,10 +2254,6 @@
 	}
 
 	public override void visit_cast_expression (CastExpression! expr) {
-		if (expr.type_reference.data_type == null && expr.type_reference.type_parameter == null) {
-			/* if type resolving didn't succeed, skip this check */
-			return;
-		}
 		if (expr.inner.error) {
 			return;
 		}



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