From c6fca061dd134068c831aefd88d9535a30f423ed Mon Sep 17 00:00:00 2001 From: "John Hodge (bugs)" Date: Sat, 4 Mar 2017 18:12:49 +0800 Subject: Many many changes to allow compiling in visual studio (Community 2015) --- src/resolve/use.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resolve/use.cpp') diff --git a/src/resolve/use.cpp b/src/resolve/use.cpp index 55c949b8..4e2874f0 100644 --- a/src/resolve/use.cpp +++ b/src/resolve/use.cpp @@ -262,7 +262,7 @@ void Resolve_Use_Mod(const ::AST::Crate& crate, ::AST::Module& mod, ::AST::Path BUG(span, "Invalid anon path segment '" << des_item_name << "'"); } assert( mod.anon_mods()[idx] ); - return ::AST::PathBinding::make_Module({&*mod.anon_mods()[idx]}); + return ::AST::PathBinding::make_Module({&*mod.anon_mods()[idx], nullptr}); } // Seach for the name defined in the module. -- cgit v1.2.3