Update incremental-compilation-in-detail.md (#1553)

Co-authored-by: Michael Woerister <michaelwoerister@users.noreply.github.com>
This commit is contained in:
gftea 2023-01-14 04:37:03 +01:00 committed by GitHub
parent c154a90ec5
commit 589841c29d
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ the result of `type_of(bar)` might yield a different result than what we
have in the cache and, transitively, the result of `type_check_item(foo)` have in the cache and, transitively, the result of `type_check_item(foo)`
might have changed too. We thus re-run `type_check_item(foo)`, which in might have changed too. We thus re-run `type_check_item(foo)`, which in
turn will re-run `type_of(bar)`, which will yield an up-to-date result turn will re-run `type_of(bar)`, which will yield an up-to-date result
because it reads the up-to-date version of `Hir(bar)`. because it reads the up-to-date version of `Hir(bar)`. Also, we re-run
`type_check_item(bar)` because result of `type_of(bar)` might have changed.
## The Problem With The Basic Algorithm: False Positives ## The Problem With The Basic Algorithm: False Positives