continue after import error, fix error order

This commit is contained in:
2026-02-24 22:25:16 -08:00
parent 6e7e123847
commit 4c5cd4dec0
4 changed files with 56 additions and 18 deletions

View File

@@ -1,2 +1,9 @@
*** Process tests/BadImport.newt
ERROR at tests/BadImport.newt:4:8--4:22: error reading tests/Does/Not/Exist.newt: Error: ENOENT: no such file or directory, open 'tests/Does/Not/Exist.newt'
module BadImport
ERROR at tests/BadImport.newt:4:8--4:22: Error in import Does.Not.Exist
-- Error should point to name here
import Does.Not.Exist
^^^^^^^^^^^^^^
ERROR at tests/BadImport.newt:1:1--1:1: Compile failed