This repository was archived by the owner on Sep 16, 2022. It is now read-only.
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
Dart2: Stop relying on AnalysisContext-only APIs #843
Closed
Description
In Dart2's move to a unified CFE (potentially AnalysisDriver first, then CFE), we can no longer use analyzer APIs in our compiler that are only supported in AnalysisContext
(also known elsewhere as the "Task Model").
Unfortunately it's hard for me to know if we have violations (I know computeNode
is one).
Known violations:
- Use of the
computeNode
API: Removing uses of "computeNode()" from the compiler. #801.