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

Unified Diff: tests/compiler/dart2js/source_mapping_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/source_mapping_test.dart
diff --git a/tests/compiler/dart2js/source_mapping_test.dart b/tests/compiler/dart2js/source_mapping_test.dart
index bc7928f074cf5b85762b3f707d85860bef30f2bf..d3b8edf5da359319469b37c22b24c0cbb013837b 100644
--- a/tests/compiler/dart2js/source_mapping_test.dart
+++ b/tests/compiler/dart2js/source_mapping_test.dart
@@ -23,6 +23,8 @@ Future<CodeBuffer> compileAll(SourceFile sourceFile) {
// TODO(floitsch): the outputBuffers are only accessible in the full
// emitter.
full.Emitter fullEmitter = backend.emitter.emitter;
+ // CodeOutput isn't assignable to CodeBuffer.
+ // ignore: RETURN_OF_INVALID_TYPE
return fullEmitter.outputBuffers[compiler.deferredLoadTask.mainOutputUnit];
});
}

Powered by Google App Engine
This is Rietveld 408576698