Fixed #2029 Simplify expressions stripping getlex and also ignoring some types of expressions

This commit is contained in:
Jindra Petřík
2023-09-07 21:22:05 +02:00
parent 6e3bc36007
commit 3f6223fe0f
10 changed files with 37 additions and 16 deletions

View File

@@ -372,7 +372,9 @@ public abstract class GraphTargetItem implements Serializable, Cloneable {
public boolean isCompileTime() {
Set<GraphTargetItem> dependencies = new HashSet<>();
dependencies.add(this);
if (!((this instanceof SimpleValue) && ((SimpleValue)this).isSimpleValue())) {
dependencies.add(this);
}
return isCompileTime(dependencies);
}