Commit e3a8480f authored by Jürg Billeter's avatar Jürg Billeter

Fix symbol resolving for base types of structs

Fixes bug 607955.
parent ea914d14
......@@ -258,7 +258,13 @@ public class Vala.SymbolResolver : CodeVisitor {
DataType get_type_for_struct (Struct st, Struct base_struct) {
if (st.base_type != null) {
// make sure that base type is resolved
var old_scope = current_scope;
current_scope = st.scope;
st.base_type.accept (this);
current_scope = old_scope;
}
if (base_struct.base_struct != null) {
......
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