vala r970 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r970 - in trunk: . vala
- Date: Tue, 5 Feb 2008 08:04:49 +0000 (GMT)
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]