File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ lib/dart/element/type_provider.dart
99lib/dart/element/type_system.dart
1010lib/dart/element/visitor.dart
1111lib/error/listener.dart
12- lib/src/dart/analysis/driver.dart
1312lib/src/dart/analysis/index.dart
1413lib/src/dart/analysis/library_analyzer.dart
1514lib/src/dart/analysis/library_context.dart
Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ class AnalysisDriver {
597597 var uriStr = uri.toString ();
598598 var libraryResult = await getLibraryByUri (uriStr);
599599 if (libraryResult is LibraryElementResult ) {
600- var libraryElement = libraryResult.element as LibraryElementImpl ;
600+ var libraryElement = libraryResult.element2 as LibraryElementImpl ;
601601 bundleWriter.writeLibraryElement (libraryElement);
602602
603603 packageBundleBuilder.addLibrary (
@@ -894,7 +894,7 @@ class AnalysisDriver {
894894 if (_pendingFileChanges.isEmpty) {
895895 var rootReference = libraryContext.elementFactory.rootReference;
896896 var reference = rootReference.getChild ('$uriObj ' );
897- var element = reference.element ;
897+ var element = reference.element2 ;
898898 if (element is LibraryElementImpl ) {
899899 return LibraryElementResultImpl (element);
900900 }
You can’t perform that action at this time.
0 commit comments