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

Fix order dependency in type resolution with derived integer types

parent c447e0cf
......@@ -256,6 +256,11 @@ 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
st.base_type.accept (this);
}
if (base_struct.base_struct != null) {
return get_type_for_struct (st, base_struct.base_struct);
}
......
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