vala r1605 - in trunk: . vala
- From: jamiemcc svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1605 - in trunk: . vala
- Date: Tue, 17 Jun 2008 01:04:27 +0000 (UTC)
Author: jamiemcc
Date: Tue Jun 17 01:04:26 2008
New Revision: 1605
URL: http://svn.gnome.org/viewvc/vala?rev=1605&view=rev
Log:
2008-06-16 Jamie McCracken <jamiemcc gnome org>
* vala/valagenieparser.vala:
Don't generate default creation method for abstract classes
Modified:
trunk/ChangeLog
trunk/vala/valagenieparser.vala
Modified: trunk/vala/valagenieparser.vala
==============================================================================
--- trunk/vala/valagenieparser.vala (original)
+++ trunk/vala/valagenieparser.vala Tue Jun 17 01:04:26 2008
@@ -2432,7 +2432,7 @@
// ensure there is always a default construction method
if (!scanner.source_file.external_package
- && !cl.is_static
+ && !cl.is_static && !cl.is_abstract
&& cl.default_construction_method == null) {
var m = new CreationMethod (cl.name, null, cl.source_reference);
m.binding = MemberBinding.STATIC;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]