From e08f0c6ea0552a2d626294c718cd4409f437ba10 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 12 Mar 2018 14:02:28 -0400 Subject: Stop compilation when a imported module contains errors. (#440) * Stop compilation when a important module contains errors. * Fixup test cases --- tests/bugs/import-with-error.slang.expected | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/bugs') diff --git a/tests/bugs/import-with-error.slang.expected b/tests/bugs/import-with-error.slang.expected index b71dba0f1..3a70095c3 100644 --- a/tests/bugs/import-with-error.slang.expected +++ b/tests/bugs/import-with-error.slang.expected @@ -1,6 +1,7 @@ result code = -1 standard error = { tests/bugs/import-with-error-extra.slang(10): error 30015: undefined identifier 'b'. +tests/bugs/import-with-error.slang(6): fatal error 39999: error in imported module, compilation ceased. } standard output = { } -- cgit v1.2.3