vala r1293 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1293 - in trunk: . gobject
- Date: Mon, 21 Apr 2008 20:19:30 +0100 (BST)
Author: juergbi
Date: Mon Apr 21 19:19:30 2008
New Revision: 1293
URL: http://svn.gnome.org/viewvc/vala?rev=1293&view=rev
Log:
2008-04-21 Juerg Billeter <j bitron ch>
* gobject/valaccodegenerator.vala: fix critical on invalid code,
fixes bug 529177
Modified:
trunk/ChangeLog
trunk/gobject/valaccodegenerator.vala
Modified: trunk/gobject/valaccodegenerator.vala
==============================================================================
--- trunk/gobject/valaccodegenerator.vala (original)
+++ trunk/gobject/valaccodegenerator.vala Mon Apr 21 19:19:30 2008
@@ -1115,7 +1115,7 @@
}
CCodeExpression rhs = null;
- if (local.initializer != null) {
+ if (local.initializer != null && local.initializer.ccodenode != null) {
rhs = (CCodeExpression) local.initializer.ccodenode;
rhs = get_implicit_cast_expression (rhs, local.initializer.static_type, local.variable_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]