Commit 4c8529fa authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix critical when using error codes

2008-11-30  Jürg Billeter  <j@bitron.ch>

	* vala/valasourcefile.vala:

	Fix critical when using error codes

svn path=/trunk/; revision=2088
parent c8db3c32
2008-11-30 Jürg Billeter <j@bitron.ch>
* vala/valasourcefile.vala:
Fix critical when using error codes
2008-11-29 Jürg Billeter <j@bitron.ch>
* vala/valavoidtype.vala:
......
......@@ -278,7 +278,9 @@ public class Vala.SourceFile {
Symbol s;
if (sym is TypeSymbol ||
if (sym is ErrorCode) {
s = sym.parent_symbol;
} else if (sym is TypeSymbol ||
sym is Method ||
sym is Field ||
sym is Property ||
......
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