Address some unused warnings via TODOs

This commit is contained in:
Richard Feldman 2020-05-10 14:26:08 -04:00
parent 33a5f36d7c
commit 64fd0ceed9
2 changed files with 8 additions and 0 deletions

View file

@ -456,6 +456,8 @@ fn gen(
let mut headers = Vec::with_capacity(procs.len());
let (mut proc_map, runtime_errors) = procs.into_map();
assert_eq!(runtime_errors, roc_collections::all::MutSet::default());
// Add all the Proc headers to the module.
// We have to do this in a separate pass first,
// because their bodies may reference each other.