2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Don't generate default creation method for abstract classes,
patch by Marc-André Lureau, fixes bug 531190
svn path=/trunk/; revision=1470
2008-05-28 Jürg Billeter <j@bitron.ch>
+ * vala/valaparser.vala:
+
+ Don't generate default creation method for abstract classes,
+ patch by Marc-André Lureau, fixes bug 531190
+
+2008-05-28 Jürg Billeter <j@bitron.ch>
+
* vala/valanamespace.vala:
* vala/valaparser.vala:
// 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;