Introduce CachingIncremental strategy for running typechecking. Minor fixes and code cleanup.

Optimization: Use repo/unit caches for storing various data in Caching strategy
Fix: introduce workaround for nodes coming from generator's transient model --
avoid clearing cache for non-resolvable origin nodes.
Fix: incrProgSpec not passed correctly downstream, incremental mode working only with trace on.
Refactoring: make TypesCollector a (private) singleton. TBD.
Rename SessionData -> CachedData.
This commit is contained in:
Fedor Isakov 2020-08-05 12:53:21 +02:00
parent 29bb1c72cd
commit 6348afaee5
1 changed files with 1315 additions and 724 deletions