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

Unified Diff: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart

Issue 2942763002: Late night strong mode cleaning. (Closed)
Patch Set: 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
« no previous file with comments | « tests/compiler/dart2js/source_map_validator_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
diff --git a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
index 31bc0a2a28d2d65019f6fdbc4c58cae76901a57a..9b6e386e19ddac659497c1ad07d19d6aca5d398b 100644
--- a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
+++ b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
@@ -9,10 +9,8 @@ import 'dart:io';
import 'package:compiler/compiler_new.dart';
import 'package:compiler/src/apiimpl.dart' as api;
import 'package:compiler/src/commandline_options.dart';
-import 'package:compiler/src/null_compiler_output.dart' show NullSink;
import 'package:compiler/src/elements/elements.dart';
import 'package:compiler/src/elements/entities.dart';
-import 'package:compiler/src/helpers/helpers.dart';
import 'package:compiler/src/filenames.dart';
import 'package:compiler/src/io/code_output.dart';
import 'package:compiler/src/io/source_file.dart';
@@ -23,7 +21,6 @@ import 'package:compiler/src/js/js_debug.dart';
import 'package:compiler/src/js/js_source_mapping.dart';
import 'package:compiler/src/js_backend/js_backend.dart';
import 'package:compiler/src/source_file_provider.dart';
-import 'package:kernel/ast.dart' show Location;
import '../memory_compiler.dart';
import '../output_collector.dart';
@@ -325,7 +322,7 @@ class SourceMapProcessor {
..addAll(options));
JavaScriptBackend backend = compiler.backend;
- var handler = compiler.handler;
+ dynamic handler = compiler.handler;
SourceFileProvider sourceFileProvider = handler.provider;
sourceFileManager =
new ProviderSourceFileManager(sourceFileProvider, outputProvider);
@@ -339,8 +336,8 @@ class SourceMapProcessor {
Map<Element, SourceMapInfo> elementSourceMapInfos =
<Element, SourceMapInfo>{};
if (perElement) {
- backend.generatedCode
- .forEach((MemberElement element, js.Expression node) {
+ backend.generatedCode.forEach((_element, js.Expression node) {
+ MemberElement element = _element;
RecordedSourceInformationProcess subProcess =
strategy.subProcessForNode(node);
if (subProcess == null) {
« no previous file with comments | « tests/compiler/dart2js/source_map_validator_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698