From d31a88206c266a535f92c856c204c062c62873d2 Mon Sep 17 00:00:00 2001 From: meisl Date: Sat, 19 Jun 2021 20:48:52 +0200 Subject: [PATCH] * importModule(Path): make tests pass (TODO: importLibraryModule with non-existent path) --- compilerAst/src/prog8/parser/ModuleParsing.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/compilerAst/src/prog8/parser/ModuleParsing.kt b/compilerAst/src/prog8/parser/ModuleParsing.kt index fd0bf5f4d..1689fc03e 100644 --- a/compilerAst/src/prog8/parser/ModuleParsing.kt +++ b/compilerAst/src/prog8/parser/ModuleParsing.kt @@ -37,8 +37,6 @@ class ModuleImporter(private val program: Program, } else println("") - if(!Files.isReadable(filePath)) - throw ParsingFailedError("No such file: $filePath") val module = Prog8Parser.parseModule(filePath)