Änderungen

Summary

  1. fix reconciling code for editor (commit: 65eae84) (details)
Commit 65eae84e82d10d7f7317a1c7a8e8c41c70dd54c9 by peter.peq
fix reconciling code for editor
previously, we checked only the direct dependencies of changed files
(actually, it was two levels of dependencies, due to some redundt code).
However, this is only correct, as long as we do not consider classes and
modules. Extending a class or using a module can re-export the members
of the class or module, so not only packages that directly import a
changed package can be affected by a change.
We now had two ways to fix this: 1) fine grained dependency analysis to
exactly find other affected files 2) include all transitive
dependencies.
Option 1 would have been more efficient, but there is a great chance for
more subtle bugs. So this commit implements option 2, which will make
updates more compute intense, but should be more stable.
(commit: 65eae84)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/ValidateLocalUsage.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/ValidateClassMemberUsage.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/WurstValidator.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/WurstChecker.java (diff)
The file was modifiedde.peeeq.wurstscript/src/test/java/tests/wurstscript/tests/ModelManagerTests.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/ModelManagerImpl.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/ValidateGlobalsUsage.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/WurstCompilerJassImpl.java (diff)