From 158225a2038e304cf5e8effa2f9e9624636b0d59 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 19 Sep 2016 21:23:36 -0400 Subject: [PATCH] avoid emitting "no member" errors when use import fails closes #192 --- src/analyze.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/analyze.cpp b/src/analyze.cpp index a79744b49c..5b190fdc22 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -6977,6 +6977,7 @@ static void add_symbols_from_import(CodeGen *g, AstNode *src_use_node, AstNode * Expr *expr = get_resolved_expr(use_target_node); if (expr->type_entry->id == TypeTableEntryIdInvalid) { + tld->import->any_imports_failed = true; return; }