Commit 0ce4bf03 authored by Vincent Untz's avatar Vincent Untz

language-support-vala: bgo#625964 - fix build with recent vala

parent ce22fc30
......@@ -256,13 +256,13 @@ public class ValaPlugin : Plugin {
result.concat (symbol_lookup_inherited (variable.variable_type.data_type, name, prefix_match));
} else if (sym is Vala.Field) {
var field = (Vala.Field) sym;
result.concat (symbol_lookup_inherited (field.field_type.data_type, name, prefix_match));
result.concat (symbol_lookup_inherited (field.variable_type.data_type, name, prefix_match));
} else if (sym is Vala.Property) {
var prop = (Vala.Property) sym;
result.concat (symbol_lookup_inherited (prop.property_type.data_type, name, prefix_match));
} else if (sym is Vala.FormalParameter) {
var fp = (Vala.FormalParameter) sym;
result.concat (symbol_lookup_inherited (fp.parameter_type.data_type, name, prefix_match));
result.concat (symbol_lookup_inherited (fp.variable_type.data_type, name, prefix_match));
}
return result;
......
......@@ -116,7 +116,7 @@ public class ValaProvider : Object, IAnjuta.Provider {
if (p.ellipsis) {
calltip.append("...");
} else {
calltip.append (p.parameter_type.to_qualified_string());
calltip.append (p.variable_type.to_qualified_string());
calltip.append (" ").append (p.name);
}
}
......
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