mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
debugging wrong id in docs test
This commit is contained in:
parent
a272765fc7
commit
0a77b3f334
17 changed files with 164 additions and 191 deletions
|
@ -28,17 +28,7 @@ pub fn parse_from_string<'a>(
|
|||
let tail_str = &code_str[blank_line_indx..];
|
||||
|
||||
let mut scope = Scope::new(env.home, env.pool, env.var_store);
|
||||
|
||||
// TODO fill scope with:
|
||||
let ident_ids = interns.get_module_ident_ids(&env.home)?.clone();
|
||||
for (_, ident_ref) in ident_ids.idents() {
|
||||
scope.introduce(
|
||||
ident_ref.0.as_str().into(),
|
||||
&env.exposed_ident_ids,
|
||||
interns.get_module_ident_ids_mut(&env.home)?,
|
||||
Region::zero()
|
||||
)?;
|
||||
}
|
||||
scope.fill_scope(&env, interns)?;
|
||||
|
||||
let region = Region::new(0, 0, 0, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue