vala r970 - in trunk: . vala



Author: juergbi
Date: Tue Feb  5 08:04:49 2008
New Revision: 970
URL: http://svn.gnome.org/viewvc/vala?rev=970&view=rev

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

	* vala/valasemanticanalyzer.vala: fix crash when casting an invalid
	  expression, fixes bug 514331


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

Modified: trunk/vala/valasemanticanalyzer.vala
==============================================================================
--- trunk/vala/valasemanticanalyzer.vala	(original)
+++ trunk/vala/valasemanticanalyzer.vala	Tue Feb  5 08:04:49 2008
@@ -2277,6 +2277,7 @@
 
 	public override void visit_cast_expression (CastExpression! expr) {
 		if (expr.inner.error) {
+			expr.error = true;
 			return;
 		}
 



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