pub fn lower(compiler: &mut CompilerRef<'_>) -> Result<()>Expand description
Lowers the parsed sources to HIR unless that has already happened.
Only the HIR and the types reachable from namespaced structs are needed, so this does not run full semantic analysis; solc has already validated the sources. Diagnostics emitted while lowering unrelated sources are not errors here.