mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
error message for record update and missing module
This commit is contained in:
parent
27317110f2
commit
331a8ed5eb
8 changed files with 153 additions and 8 deletions
|
@ -115,7 +115,11 @@ impl<'a> Env<'a> {
|
|||
}
|
||||
None => Err(RuntimeError::ModuleNotImported {
|
||||
module_name,
|
||||
ident: ident.into(),
|
||||
imported_modules: self
|
||||
.module_ids
|
||||
.available_modules()
|
||||
.map(|string| string.as_ref().into())
|
||||
.collect(),
|
||||
region,
|
||||
}),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue