Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Unified Diff: pkg/analysis_server/lib/src/status/get_handler.dart

Issue 2231473002: Revert 6ad38498c8673f1fbe3e12c49b1cf590305676dd (PARSED_UNIT). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/doc/tasks.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/status/get_handler.dart
diff --git a/pkg/analysis_server/lib/src/status/get_handler.dart b/pkg/analysis_server/lib/src/status/get_handler.dart
index 406131eca60f2431f728b80dd0aba1b3a54452ac..11cccffc1e21e8adefaa8753068874e7b23997a2 100644
--- a/pkg/analysis_server/lib/src/status/get_handler.dart
+++ b/pkg/analysis_server/lib/src/status/get_handler.dart
@@ -435,11 +435,7 @@ class GetHandler {
* Return any AST structure stored in the given [entry].
*/
CompilationUnit _getAnyAst(CacheEntry entry) {
- CompilationUnit unit = entry.getValue(PARSED_UNIT1);
- if (unit != null) {
- return unit;
- }
- unit = entry.getValue(PARSED_UNIT);
+ CompilationUnit unit = entry.getValue(PARSED_UNIT);
if (unit != null) {
return unit;
}
@@ -530,7 +526,6 @@ class GetHandler {
results.add(LIBRARY_ELEMENT);
results.add(LIBRARY_ERRORS_READY);
results.add(PARSE_ERRORS);
- results.add(PARSED_UNIT1);
results.add(PARSED_UNIT);
results.add(REFERENCED_NAMES);
results.add(SCAN_ERRORS);
« no previous file with comments | « no previous file | pkg/analyzer/doc/tasks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698