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

Unified Diff: tests/compiler/dart2js/reexport_handled_test.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 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: tests/compiler/dart2js/reexport_handled_test.dart
diff --git a/tests/compiler/dart2js/reexport_handled_test.dart b/tests/compiler/dart2js/reexport_handled_test.dart
index 8a7c6f798ef49b38e6cd1062529bfccd23ba481b..b153fe81e0aaa9180fed75fda12102ed46750240 100644
--- a/tests/compiler/dart2js/reexport_handled_test.dart
+++ b/tests/compiler/dart2js/reexport_handled_test.dart
@@ -7,8 +7,6 @@ library reexport_handled_test;
import "package:expect/expect.dart";
import "package:async_helper/async_helper.dart";
import 'mock_compiler.dart';
-import 'package:compiler/src/elements/elements.dart'
- show Element, LibraryElement;
final exportingLibraryUri = Uri.parse('exporting.dart');
const String EXPORTING_LIBRARY_SOURCE = '''
@@ -40,7 +38,7 @@ void main() {
// Load reexporting library when exports are handled on the exporting library.
return compiler.libraryLoader.loadLibrary(reexportingLibraryUri);
- }).then((loadedLibraries) {
+ }).then((dynamic loadedLibraries) {
compiler.processLoadedLibraries(loadedLibraries);
var foo = loadedLibraries.rootLibrary.findExported('foo');
Expect.isNotNull(foo);

Powered by Google App Engine
This is Rietveld 408576698