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

Side by Side Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1056903002: Enable dart2js hints test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer/test/src/task/dart_test.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 library analyzer.src.task.dart; 5 library analyzer.src.task.dart;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:math' as math; 8 import 'dart:math' as math;
9 9
10 import 'package:analyzer/src/generated/ast.dart'; 10 import 'package:analyzer/src/generated/ast.dart';
11 import 'package:analyzer/src/generated/element.dart'; 11 import 'package:analyzer/src/generated/element.dart';
12 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; 12 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask;
13 import 'package:analyzer/src/generated/error.dart'; 13 import 'package:analyzer/src/generated/error.dart';
14 import 'package:analyzer/src/generated/error_verifier.dart'; 14 import 'package:analyzer/src/generated/error_verifier.dart';
15 import 'package:analyzer/src/generated/java_engine.dart'; 15 import 'package:analyzer/src/generated/java_engine.dart';
16 import 'package:analyzer/src/generated/parser.dart'; 16 import 'package:analyzer/src/generated/parser.dart';
17 import 'package:analyzer/src/generated/resolver.dart'; 17 import 'package:analyzer/src/generated/resolver.dart';
18 import 'package:analyzer/src/generated/scanner.dart'; 18 import 'package:analyzer/src/generated/scanner.dart';
19 import 'package:analyzer/src/generated/sdk.dart'; 19 import 'package:analyzer/src/generated/sdk.dart';
20 import 'package:analyzer/src/generated/source.dart'; 20 import 'package:analyzer/src/generated/source.dart';
21 import 'package:analyzer/src/generated/utilities_general.dart'; 21 import 'package:analyzer/src/generated/utilities_general.dart';
22 import 'package:analyzer/src/task/driver.dart'; 22 import 'package:analyzer/src/task/driver.dart';
23 import 'package:analyzer/src/task/general.dart'; 23 import 'package:analyzer/src/task/general.dart';
24 import 'package:analyzer/task/dart.dart'; 24 import 'package:analyzer/task/dart.dart';
25 import 'package:analyzer/task/general.dart'; 25 import 'package:analyzer/task/general.dart';
26 import 'package:analyzer/task/model.dart'; 26 import 'package:analyzer/task/model.dart';
27 import 'package:analyzer/src/task/inputs.dart';
28 27
29 /** 28 /**
30 * The errors produced while resolving a library directives. 29 * The errors produced while resolving a library directives.
31 * 30 *
32 * The list will be empty if there were no errors, but will not be `null`. 31 * The list will be empty if there were no errors, but will not be `null`.
33 * 32 *
34 * The result is only available for targets representing a Dart library. 33 * The result is only available for targets representing a Dart library.
35 */ 34 */
36 final ResultDescriptor<List<AnalysisError>> BUILD_DIRECTIVES_ERRORS = 35 final ResultDescriptor<List<AnalysisError>> BUILD_DIRECTIVES_ERRORS =
37 new ResultDescriptor<List<AnalysisError>>( 36 new ResultDescriptor<List<AnalysisError>>(
(...skipping 2412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2450 @override 2449 @override
2451 bool moveNext() { 2450 bool moveNext() {
2452 if (_newSources.isEmpty) { 2451 if (_newSources.isEmpty) {
2453 return false; 2452 return false;
2454 } 2453 }
2455 currentTarget = _newSources.first; 2454 currentTarget = _newSources.first;
2456 _newSources.remove(currentTarget); 2455 _newSources.remove(currentTarget);
2457 return true; 2456 return true;
2458 } 2457 }
2459 } 2458 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698