summaryrefslogtreecommitdiff
path: root/vala/valasymbolresolver.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-12-24 19:20:20 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-12-24 19:20:20 +0000
commitd18ff30d6f7cfc8b4cc981e32cfa4398153374e4 (patch)
tree3209ba44ee91fb8be964840a1cf4e4d6ec616609 /vala/valasymbolresolver.vala
parent6fb022a1e1bf4acc495ecbea93cd81c596227e61 (diff)
downloadvala-d18ff30d6f7cfc8b4cc981e32cfa4398153374e4.tar.gz
fix void types with vapigen
2007-12-24 Juerg Billeter <j@bitron.ch> * vala/valasymbolresolver.vala: fix void types with vapigen svn path=/trunk/; revision=787
Diffstat (limited to 'vala/valasymbolresolver.vala')
-rw-r--r--vala/valasymbolresolver.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valasymbolresolver.vala b/vala/valasymbolresolver.vala
index aaf5c61ae..8fd0f2630 100644
--- a/vala/valasymbolresolver.vala
+++ b/vala/valasymbolresolver.vala
@@ -194,7 +194,7 @@ public class Vala.SymbolResolver : CodeVisitor {
// still required for vapigen
if (unresolved_type.type_name == "void") {
- return type;
+ return new VoidType ();
}
if (unresolved_type.namespace_name == null) {