Revert. Different rules on the same node report separately

This commit is contained in:
Juan Martín Sotuyo Dodero 2024-04-19 00:46:58 -03:00
parent 8d51a2f2a0
commit b74b6e5a66

View File

@ -68,8 +68,8 @@ class AstAttributeNode extends BaseNodeInfo implements SiblingCountingNode {
@Override
public AtomicSequence atomize() {
getTreeInfo().getLogger().recordUsageOf(attribute);
if (value == null) {
getTreeInfo().getLogger().recordUsageOf(attribute);
value = DomainConversion.convert(attribute.getValue());
}
return value;