summaryrefslogtreecommitdiff
path: root/vala/valasymbolresolver.vala
diff options
context:
space:
mode:
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 b5594bfe0..4ac3fbd3c 100644
--- a/vala/valasymbolresolver.vala
+++ b/vala/valasymbolresolver.vala
@@ -427,7 +427,7 @@ public class Vala.SymbolResolver : CodeVisitor {
// still required for vapigen
if (unresolved_type.unresolved_symbol.name == "void") {
- return new VoidType ();
+ return new VoidType (unresolved_type.source_reference);
}
var sym = resolve_symbol (unresolved_type.unresolved_symbol);