diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-29 16:18:16 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-29 16:18:16 +0800 |
commit | 2954698f2063b83355c64af0bf6ec93bf151e66f (patch) | |
tree | f649f4312cf304287c1bcff89f0dc8caf9761739 /src/expand/mod.cpp | |
parent | 4c5e8ffbd413772859739e8cad57f925ba85dad8 (diff) | |
download | mrust-2954698f2063b83355c64af0bf6ec93bf151e66f.tar.gz |
Resolve Abs - Glob imports from extern
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r-- | src/expand/mod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp index 2fc7b18a..097ab77f 100644 --- a/src/expand/mod.cpp +++ b/src/expand/mod.cpp @@ -883,7 +883,7 @@ void Expand(::AST::Crate& crate) break; case ::AST::Crate::LOAD_CORE: if( crate.m_prelude_path == AST::Path() ) - crate.m_prelude_path = AST::Path("core", {AST::PathNode("prelude")}); + crate.m_prelude_path = AST::Path("core", {AST::PathNode("prelude"), AST::PathNode("v1")}); crate.load_extern_crate("core"); crate.m_extern_crates.at("core").with_all_macros([&](const auto& name, const auto& mac) { crate.m_root_module.add_macro_import( name, mac ); |