Skip to content

Commit

Permalink
the no-project evaluator now gets the std lib on its path again (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju authored Aug 30, 2024
1 parent d6133db commit 3e5a2a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ protected Evaluator constructEvaluator(InputStream input, OutputStream stdout, O
pcfg = PathConfig.fromSourceProjectRascalManifest(projectDir, RascalConfigMode.INTERPETER);
}
else {
// TODO: see if we need to do something special for RascalConfigMode flag for this default path config
pcfg = new PathConfig();
pcfg.addSourceLoc(URIUtil.rootLocation("std"));
}

evaluator.getErrorPrinter().println("Rascal Version: " + RascalManifest.getRascalVersionNumber());
evaluator.getErrorPrinter().println("Rascal-lsp Version: " + getRascalLspVersion());
new StandardTextWriter(true).write(pcfg.asConstructor(), evaluator.getErrorPrinter());
Expand Down

0 comments on commit 3e5a2a7

Please sign in to comment.