-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses analyzer ^0.27.2 rather than a fixed 0.27.1
The transformer is modified to handle the situation where a constant turns out to be unresolved (where `evaluationResult` returns null), which used to prevent us from using any other version of the analyzer than 0.27.1. The approach is lazy and fine-grained in that resolution of constants in a library is requested just before the invocation of `evaluationResult`, and only if this has not already been done. As an extra bonus, the transformation of the 64 tests in 'test_reflectable' is now completed about 12% faster than previously. About one in seven libraries do not get their constants resolved, which is presumably the main reason for the speedup. Fixes #54. R=sigurdm@google.com Review URL: https://codereview.chromium.org/1761423002 .
- Loading branch information
Showing
2 changed files
with
109 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters