Chromium Code Reviews| 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 394ad780d9a5b51c6f8c4f15a25b3ca096eb0f6d..3822636b5354abd191163bc81b79eea6d116888b 100644 |
| --- a/pkg/analysis_server/lib/src/status/get_handler.dart |
| +++ b/pkg/analysis_server/lib/src/status/get_handler.dart |
| @@ -271,6 +271,14 @@ class GetHandler { |
| if (unit != null) { |
| return unit; |
| } |
| + unit = entry.getValue(RESOLVED_UNIT9); |
|
Leaf
2015/10/13 05:35:47
I clearly missed this in a previous renumbering CL
Brian Wilkerson
2015/10/13 14:21:19
I agree. This is very brittle and it's on the list
|
| + if (unit != null) { |
| + return unit; |
| + } |
| + unit = entry.getValue(RESOLVED_UNIT10); |
| + if (unit != null) { |
| + return unit; |
| + } |
| return entry.getValue(RESOLVED_UNIT); |
| } |
| @@ -337,7 +345,10 @@ class GetHandler { |
| results.add(RESOLVED_UNIT6); |
| results.add(RESOLVED_UNIT7); |
| results.add(RESOLVED_UNIT8); |
| + results.add(RESOLVED_UNIT9); |
|
Jennifer Messerly
2015/10/13 15:23:52
I forgot to ask yesterday ... do we need the old B
Brian Wilkerson
2015/10/13 15:37:37
Yes, the names are poor. I'm currently in the proc
|
| + results.add(RESOLVED_UNIT10); |
| results.add(RESOLVED_UNIT); |
| + results.add(STRONG_MODE_ERRORS); |
| results.add(USED_IMPORTED_ELEMENTS); |
| results.add(USED_LOCAL_ELEMENTS); |
| results.add(VARIABLE_REFERENCE_ERRORS); |