git.delta.rocks / jrsonnet / refs/commits / 029b9cfebd03

difftreelog

feat push frame for imports

Лач2020-07-16parent: #433adfa.patch.diff
in: master

1 file changed

modifiedcrates/jrsonnet-evaluator/src/evaluate.rsdiffbeforeafterboth
857 .0;857 .0;
858 let import_location = Rc::make_mut(&mut tmp);858 let import_location = Rc::make_mut(&mut tmp);
859 import_location.pop();859 import_location.pop();
860 push(
861 loc,
862 || format!("import {:?}", path),
860 with_state(|s| s.import_file(&import_location, path))?863 || with_state(|s| s.import_file(&import_location, path)),
864 )?
861 }865 }
862 ImportStr(path) => {866 ImportStr(path) => {
863 let mut tmp = loc867 let mut tmp = loc