Resolve field types lazily

I.e. not already when getting the HIR for the struct.
This commit is contained in:
Florian Diebold 2018-12-25 21:40:33 +01:00
parent cdca397061
commit bc745a1396
7 changed files with 76 additions and 59 deletions

View file

@ -193,6 +193,7 @@ salsa::database_storage! {
fn submodules() for db::SubmodulesQuery;
fn infer() for db::InferQuery;
fn type_for_def() for db::TypeForDefQuery;
fn type_for_field() for db::TypeForFieldQuery;
fn struct_data() for db::StructDataQuery;
fn enum_data() for db::EnumDataQuery;
}