From 2954698f2063b83355c64af0bf6ec93bf151e66f Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 29 Aug 2016 16:18:16 +0800 Subject: Resolve Abs - Glob imports from extern --- src/expand/mod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expand/mod.cpp') 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 ); -- cgit v1.2.3