mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
fix problem with empty closures still considered closures
This commit is contained in:
parent
84421ad06d
commit
f5c267acf4
7 changed files with 71 additions and 15 deletions
|
@ -157,7 +157,7 @@ impl Dependencies {
|
|||
output
|
||||
}
|
||||
|
||||
pub fn add_platform_module(
|
||||
pub fn add_effect_module(
|
||||
&mut self,
|
||||
module_id: ModuleId,
|
||||
dependencies: &MutSet<ModuleId>,
|
||||
|
@ -1580,7 +1580,7 @@ fn update<'a>(
|
|||
.constrained
|
||||
.insert(module_id, constrained_module);
|
||||
|
||||
let mut work = state.dependencies.add_platform_module(
|
||||
let mut work = state.dependencies.add_effect_module(
|
||||
module_id,
|
||||
&MutSet::default(),
|
||||
state.goal_phase,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue