I think we can get rid of the "maybe cache".
It is possible that to support the let variables, we may need to touch that import lookup when switching scopes in the project and need to recompute the import lookup somewhat, but we should avoid to recompute the things I moved to afterImportsVisitor anyway.
I think we can get rid of the "maybe cache". It is possible that to support the
let
variables, we may need to touch that import lookup when switching scopes in the project and need to recompute the import lookup somewhat, but we should avoid to recompute the things I moved toafterImportsVisitor
anyway.