vala r923 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r923 - in trunk: . vala
- Date: Tue, 29 Jan 2008 14:37:19 +0000 (GMT)
Author: juergbi
Date: Tue Jan 29 14:37:19 2008
New Revision: 923
URL: http://svn.gnome.org/viewvc/vala?rev=923&view=rev
Log:
2008-01-29 Juerg Billeter <j bitron ch>
* vala/valadatatype.vala: fix crash on invalid code, fixes bug 512306
Modified:
trunk/ChangeLog
trunk/vala/valadatatype.vala
Modified: trunk/vala/valadatatype.vala
==============================================================================
--- trunk/vala/valadatatype.vala (original)
+++ trunk/vala/valadatatype.vala Tue Jan 29 14:37:19 2008
@@ -389,7 +389,7 @@
}
}
- return data_type.is_subtype_of (target_type.data_type);
+ return (data_type != null && target_type.data_type != null && data_type.is_subtype_of (target_type.data_type));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]