}
}
- value_type = new IntegerType ((Struct) analyzer.root_symbol.scope.lookup (type_name), value, type_name);
+ var st = (Struct) analyzer.root_symbol.scope.lookup (type_name);
+ // ensure attributes are already processed in case of bootstrapping dova-core
+ st.check (analyzer);
+
+ value_type = new IntegerType (st, value, type_name);
return !error;
}
/* valarealliteral.vala
*
- * Copyright (C) 2006-2009 Jürg Billeter
+ * Copyright (C) 2006-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
checked = true;
- value_type = new FloatingType ((Struct) analyzer.root_symbol.scope.lookup (get_type_name ()));
+ var st = (Struct) analyzer.root_symbol.scope.lookup (get_type_name ());
+ // ensure attributes are already processed in case of bootstrapping dova-core
+ st.check (analyzer);
+
+ value_type = new FloatingType (st);
return !error;
}