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

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

Issue 1927323002: Implement stable resolution of generic types without type arguments to their bounds. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge and regenerate the task graph. Created 4 years, 8 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
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 a2cc48ffde9adf2f96ae1cba31aff8d3c3582478..5b3f6de19dc0bd9f8831905f884416c4aad5736b 100644
--- a/pkg/analysis_server/lib/src/status/get_handler.dart
+++ b/pkg/analysis_server/lib/src/status/get_handler.dart
@@ -461,6 +461,10 @@ class GetHandler {
if (unit != null) {
return unit;
}
+ unit = entry.getValue(RESOLVED_UNIT13);
+ if (unit != null) {
+ return unit;
+ }
return entry.getValue(RESOLVED_UNIT);
}
@@ -492,6 +496,7 @@ class GetHandler {
results.add(LIBRARY_ELEMENT3);
results.add(LIBRARY_ELEMENT4);
results.add(LIBRARY_ELEMENT5);
+ results.add(LIBRARY_ELEMENT6);
results.add(LIBRARY_ELEMENT);
results.add(LIBRARY_ERRORS_READY);
results.add(PARSE_ERRORS);
@@ -518,6 +523,7 @@ class GetHandler {
results.add(INFERABLE_STATIC_VARIABLES_IN_UNIT);
results.add(LIBRARY_UNIT_ERRORS);
results.add(RESOLVE_TYPE_NAMES_ERRORS);
+ results.add(RESOLVE_TYPE_BOUNDS_ERRORS);
results.add(RESOLVE_UNIT_ERRORS);
results.add(RESOLVED_UNIT1);
results.add(RESOLVED_UNIT2);
@@ -531,6 +537,7 @@ class GetHandler {
results.add(RESOLVED_UNIT10);
results.add(RESOLVED_UNIT11);
results.add(RESOLVED_UNIT12);
+ results.add(RESOLVED_UNIT13);
results.add(RESOLVED_UNIT);
results.add(STRONG_MODE_ERRORS);
results.add(USED_IMPORTED_ELEMENTS);

Powered by Google App Engine
This is Rietveld 408576698