mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Merge pull request #3462 from rtfeldman/fix-nested-imports
Fix importing interfaces with nested paths
This commit is contained in:
commit
3b60acb938
24 changed files with 109 additions and 94 deletions
|
@ -1,11 +1,13 @@
|
|||
use libloading::Library;
|
||||
use roc_build::link::{link, LinkType};
|
||||
use roc_builtins::bitcode;
|
||||
use roc_collections::all::MutMap;
|
||||
use roc_load::Threading;
|
||||
use roc_region::all::LineInfo;
|
||||
use tempfile::tempdir;
|
||||
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
use roc_collections::all::MutMap;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use roc_mono::ir::pretty_print_ir_symbols;
|
||||
|
||||
|
@ -30,11 +32,11 @@ pub fn helper(
|
|||
_leak: bool,
|
||||
lazy_literals: bool,
|
||||
) -> (String, Vec<roc_problem::can::Problem>, Library) {
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
let dir = tempdir().unwrap();
|
||||
let filename = PathBuf::from("Test.roc");
|
||||
let src_dir = Path::new("fake/test/path");
|
||||
let src_dir = PathBuf::from("fake/test/path");
|
||||
let app_o_file = dir.path().join("app.o");
|
||||
|
||||
let module_src;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue