mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-22 16:08:24 +00:00
fix scope
This commit is contained in:
parent
79d0e2ca7e
commit
2debb696ba
|
@ -145,7 +145,7 @@ pub fn compile(session: &Session, program: &ProgramBody) -> Result<PathBuf, Box<
|
||||||
);
|
);
|
||||||
|
|
||||||
let di_namespace = di_builder
|
let di_namespace = di_builder
|
||||||
.create_namespace(di_unit.as_debug_info_scope(), &module.name, true)
|
.create_namespace(di_unit.get_file().as_debug_info_scope(), &module.name, true)
|
||||||
.as_debug_info_scope();
|
.as_debug_info_scope();
|
||||||
|
|
||||||
let mut module_ctx = ModuleCompileCtx {
|
let mut module_ctx = ModuleCompileCtx {
|
||||||
|
|
Loading…
Reference in a new issue