Account for compute entires in backtrack code (despite it should not have reached backtracking if there is compute entry)

This commit is contained in:
DBotThePony 2022-11-17 22:39:55 +07:00
parent 9a92205178
commit 804dfed42c
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -564,6 +564,10 @@ object MatterManager {
seenItems.addLast(item) seenItems.addLast(item)
try { try {
val indirect = Registry.indirect(item)
if (indirect.value != null)
return indirect
val result = doTryToBacktrack(item, makeCommentary) val result = doTryToBacktrack(item, makeCommentary)
cachedIterationResults[item] = result cachedIterationResults[item] = result
return result return result