mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Thread error message information for requires
This commit is contained in:
parent
c7142da116
commit
77a1f644a4
3 changed files with 22 additions and 14 deletions
|
@ -50,7 +50,7 @@ pub struct ModuleOutput {
|
|||
pub problems: Vec<Problem>,
|
||||
pub referenced_values: VecSet<Symbol>,
|
||||
pub referenced_types: VecSet<Symbol>,
|
||||
pub symbols_from_requires: Vec<(Symbol, Loc<Type>)>,
|
||||
pub symbols_from_requires: Vec<(Loc<Symbol>, Loc<Type>)>,
|
||||
pub scope: Scope,
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,7 @@ pub fn canonicalize_module_defs<'a>(
|
|||
aliases: MutMap<Symbol, Alias>,
|
||||
exposed_imports: MutMap<Ident, (Symbol, Region)>,
|
||||
exposed_symbols: &VecSet<Symbol>,
|
||||
symbols_from_requires: &[(Symbol, Loc<TypeAnnotation<'a>>)],
|
||||
symbols_from_requires: &[(Loc<Symbol>, Loc<TypeAnnotation<'a>>)],
|
||||
var_store: &mut VarStore,
|
||||
) -> Result<ModuleOutput, RuntimeError> {
|
||||
let mut can_exposed_imports = MutMap::default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue