Commit f20176ca authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

support static classes

2007-09-09  Juerg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: support static classes

svn path=/trunk/; revision=595
parent a0b8c5b1
2007-09-09 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: support static classes
2007-09-08 Jürg Billeter <j@bitron.ch>
* tests/classes.exp, tests/classes.vala: add class declaration test
......
......@@ -128,7 +128,9 @@ public class Vala.InterfaceWriter : CodeVisitor {
write_indent ();
write_string ("public ");
if (cl.is_abstract) {
if (cl.is_static) {
write_string ("static ");
} else if (cl.is_abstract) {
write_string ("abstract ");
}
write_string ("class ");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment