Achieve regeneration of rules from deep changes to "imported" data

requiredHash of a rule now includes hashes not only of SNode & SNodeRef
but also of anything except Coderules rt types (e.g. MetaLogical & DataForm).
The motivation is that if something else is used -- then it must come
from AST, so the rule must be regenerated on any changes to that data.
requiredHash is renamed to usedDataHash to reflect that fact.

In particular, fixes dependence of IndexedTupleAccess rule on idx
from `idx = tuple.index.getCompileTimeConstant()`.
This commit is contained in:
Grigorii Kirgizov 2020-04-08 23:41:29 +03:00
parent 8dfcff1844
commit 6348f89d34
1 changed files with 551 additions and 395 deletions