diff --git a/core/src/main/java/org/lflang/MainConflictChecker.java b/core/src/main/java/org/lflang/MainConflictChecker.java index 1805cda5d7..48344d5465 100644 --- a/core/src/main/java/org/lflang/MainConflictChecker.java +++ b/core/src/main/java/org/lflang/MainConflictChecker.java @@ -51,7 +51,7 @@ public MainConflictChecker(FileConfig fileConfig) { // files in the current package (which happens when we get the resources) this.fileConfig = fileConfig; try { - Files.walkFileTree(fileConfig.srcPkgPath, new PackageVisitor()); + Files.walkFileTree(fileConfig.srcPath, new PackageVisitor()); } catch (IOException e) { System.err.println("Error while checking for name conflicts in package."); e.printStackTrace();