mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Move unexpected params warning to solve
This commit is contained in:
parent
63e722f61d
commit
0cbb352a89
18 changed files with 115 additions and 169 deletions
|
@ -21,8 +21,6 @@ pub struct Env<'a> {
|
|||
|
||||
pub qualified_module_ids: &'a PackageModuleIds<'a>,
|
||||
|
||||
pub modules_expecting_params: VecSet<ModuleId>,
|
||||
|
||||
/// Problems we've encountered along the way, which will be reported to the user at the end.
|
||||
pub problems: Vec<Problem>,
|
||||
|
||||
|
@ -51,7 +49,6 @@ impl<'a> Env<'a> {
|
|||
home: ModuleId,
|
||||
module_path: &'a Path,
|
||||
dep_idents: &'a IdentIdsByModule,
|
||||
modules_expecting_params: VecSet<ModuleId>,
|
||||
qualified_module_ids: &'a PackageModuleIds<'a>,
|
||||
opt_shorthand: Option<&'a str>,
|
||||
) -> Env<'a> {
|
||||
|
@ -60,7 +57,6 @@ impl<'a> Env<'a> {
|
|||
home,
|
||||
module_path,
|
||||
dep_idents,
|
||||
modules_expecting_params,
|
||||
qualified_module_ids,
|
||||
problems: Vec::new(),
|
||||
closures: MutMap::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue