Index: pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
index a33d280fe75cd346087c593f82cef1cadc3ab2d0..7a3df8960b16a1379516c43e599072e4baccd119 100644 |
--- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
+++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart |
@@ -1516,7 +1516,7 @@ class FixProcessor { |
} |
// prepare LibraryElement |
LibraryElement libraryElement = |
- context.getResult(librarySource, LIBRARY_ELEMENT8); |
+ context.getResult(librarySource, LIBRARY_ELEMENT4); |
scheglov
2016/03/09 19:05:32
Do you need LIBRARY_ELEMENT4 or LIBRARY_ELEMENT1 w
skybrian
2016/03/09 19:15:05
I don't know; LIBRARY_ELEMENT4 was based on your s
scheglov
2016/03/09 19:18:21
Well, ideally we need to use the lowest level.
skybrian
2016/03/09 19:33:47
This fix uses getExportNamespaceForLibrary() on th
scheglov
2016/03/09 19:36:07
OK, thank you for checking this.
|
if (libraryElement == null) { |
continue; |
} |