* importModule(Path): make tests pass (TODO: importLibraryModule with non-existent path)

This commit is contained in:
meisl 2021-06-19 20:48:52 +02:00
parent cd4ed8765b
commit d31a88206c

View File

@ -37,8 +37,6 @@ class ModuleImporter(private val program: Program,
} }
else else
println("") println("")
if(!Files.isReadable(filePath))
throw ParsingFailedError("No such file: $filePath")
val module = Prog8Parser.parseModule(filePath) val module = Prog8Parser.parseModule(filePath)