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

Side by Side Diff: lib/src/compiler.dart

Issue 1797063002: Resolve obvious deprecation warnings on bleeding edge (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Add test Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « lib/src/codegen/side_effect_analysis.dart ('k') | lib/src/info.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Command line tool to run the checker on a Dart program. 5 /// Command line tool to run the checker on a Dart program.
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:math' as math; 9 import 'dart:math' as math;
10 import 'dart:io'; 10 import 'dart:io';
11 11
12 import 'package:analyzer/src/generated/ast.dart' show CompilationUnit; 12 import 'package:analyzer/dart/ast/ast.dart' show CompilationUnit;
13 import 'package:analyzer/src/generated/element.dart'; 13 import 'package:analyzer/dart/element/element.dart';
14 import 'package:analyzer/src/generated/engine.dart' 14 import 'package:analyzer/src/generated/engine.dart'
15 show AnalysisEngine, AnalysisContext, ChangeSet, ParseDartTask; 15 show AnalysisEngine, AnalysisContext, ChangeSet, ParseDartTask;
16 import 'package:analyzer/src/generated/error.dart' 16 import 'package:analyzer/src/generated/error.dart'
17 show AnalysisError, ErrorSeverity, ErrorType; 17 show AnalysisError, ErrorSeverity, ErrorType;
18 import 'package:analyzer/src/generated/error.dart'; 18 import 'package:analyzer/src/generated/error.dart';
19 import 'package:analyzer/src/generated/source.dart' show Source; 19 import 'package:analyzer/src/generated/source.dart' show Source;
20 import 'package:analyzer/src/task/html.dart'; 20 import 'package:analyzer/src/task/html.dart';
21 import 'package:html/dom.dart' as html; 21 import 'package:html/dom.dart' as html;
22 import 'package:html/parser.dart' as html; 22 import 'package:html/parser.dart' as html;
23 import 'package:logging/logging.dart' show Level, Logger, LogRecord; 23 import 'package:logging/logging.dart' show Level, Logger, LogRecord;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 var files = [ 535 var files = [
536 'harmony_feature_check.js', 536 'harmony_feature_check.js',
537 'dart_library.js', 537 'dart_library.js',
538 'dart/_runtime.js', 538 'dart/_runtime.js',
539 ]; 539 ];
540 files.addAll(corelibOrder.map(coreToFile)); 540 files.addAll(corelibOrder.map(coreToFile));
541 return files; 541 return files;
542 }(); 542 }();
543 543
544 final _log = new Logger('dev_compiler.src.compiler'); 544 final _log = new Logger('dev_compiler.src.compiler');
OLDNEW
« no previous file with comments | « lib/src/codegen/side_effect_analysis.dart ('k') | lib/src/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698