mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Remove MonoProblem
This commit is contained in:
parent
c969c7a15e
commit
89757dc31f
9 changed files with 12 additions and 408 deletions
|
@ -519,7 +519,6 @@ pub struct MonomorphizedModule<'a> {
|
|||
pub platform_path: Box<str>,
|
||||
pub can_problems: MutMap<ModuleId, Vec<roc_problem::can::Problem>>,
|
||||
pub type_problems: MutMap<ModuleId, Vec<solve::TypeError>>,
|
||||
pub mono_problems: MutMap<ModuleId, Vec<roc_mono::ir::MonoProblem>>,
|
||||
pub procedures: MutMap<(Symbol, ProcLayout<'a>), Proc<'a>>,
|
||||
pub entry_point: EntryPoint<'a>,
|
||||
pub exposed_to_host: ExposedToHost,
|
||||
|
@ -547,10 +546,6 @@ impl<'a> MonomorphizedModule<'a> {
|
|||
total += problems.len();
|
||||
}
|
||||
|
||||
for problems in self.mono_problems.values() {
|
||||
total += problems.len();
|
||||
}
|
||||
|
||||
total
|
||||
}
|
||||
}
|
||||
|
@ -2321,7 +2316,6 @@ fn finish_specialization(
|
|||
} = state;
|
||||
|
||||
let ModuleCache {
|
||||
mono_problems,
|
||||
type_problems,
|
||||
can_problems,
|
||||
sources,
|
||||
|
@ -2384,7 +2378,6 @@ fn finish_specialization(
|
|||
|
||||
Ok(MonomorphizedModule {
|
||||
can_problems,
|
||||
mono_problems,
|
||||
type_problems,
|
||||
output_path: output_path.unwrap_or(DEFAULT_APP_OUTPUT_PATH).into(),
|
||||
platform_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue