Skip to content

Commit bc7bb71

Browse files
committed
Use path config equality.
1 parent 8831599 commit bc7bb71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rascal-lsp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<dependency>
6464
<groupId>org.rascalmpl</groupId>
6565
<artifactId>rascal</artifactId>
66-
<version>0.41.0-RC62</version>
66+
<version>0.41.0-RC63</version>
6767
</dependency>
6868
<!-- Rascal tests require JUnit 4 -->
6969
<dependency>

rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/rascal/model/PathConfigs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private PathConfig actualBuild(ISourceLocation projectRoot, long newestConfig) {
168168
final var newPcfg = PathConfig.fromSourceProjectRascalManifest(projectRoot, RascalConfigMode.COMPILER, true);
169169
final var prevPcfg = currentPathConfigs.get(newPcfg.getProjectRoot());
170170
// Did the path config change?
171-
if (prevPcfg == null || newPcfg.asConstructor().equals(prevPcfg.asConstructor())) {
171+
if (newPcfg.equals(prevPcfg)) {
172172
try {
173173
cleanOutdatedTPLs(newPcfg.getBin(), newestConfig);
174174
} catch (IOException e) {

0 commit comments

Comments
 (0)