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

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

Issue 1398433004: The (failing) test for the invalid hint / used elements problem. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « 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 8
9 import 'package:analyzer/src/context/cache.dart'; 9 import 'package:analyzer/src/context/cache.dart';
10 import 'package:analyzer/src/generated/ast.dart'; 10 import 'package:analyzer/src/generated/ast.dart';
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 /** 335 /**
336 * The names (resolved and not) referenced by a unit. 336 * The names (resolved and not) referenced by a unit.
337 * 337 *
338 * The result is only available for [Source]s representing a compilation unit. 338 * The result is only available for [Source]s representing a compilation unit.
339 */ 339 */
340 final ResultDescriptor<ReferencedNames> REFERENCED_NAMES = 340 final ResultDescriptor<ReferencedNames> REFERENCED_NAMES =
341 new ResultDescriptor<ReferencedNames>('REFERENCED_NAMES', null); 341 new ResultDescriptor<ReferencedNames>('REFERENCED_NAMES', null);
342 342
343 /** 343 /**
344 * The errors produced while resolving a full compilation unit. 344 * The errors produced while resolving a full compilation unit.
345 * 345 *
346 * The list will be empty if there were no errors, but will not be `null`. 346 * The list will be empty if there were no errors, but will not be `null`.
347 * 347 *
348 * The result is only available for [LibrarySpecificUnit]s. 348 * The result is only available for [LibrarySpecificUnit]s.
349 */ 349 */
350 final ListResultDescriptor<AnalysisError> RESOLVE_UNIT_ERRORS = 350 final ListResultDescriptor<AnalysisError> RESOLVE_UNIT_ERRORS =
351 new ListResultDescriptor<AnalysisError>( 351 new ListResultDescriptor<AnalysisError>(
352 'RESOLVE_UNIT_ERRORS', AnalysisError.NO_ERRORS); 352 'RESOLVE_UNIT_ERRORS', AnalysisError.NO_ERRORS);
353 353
354 /** 354 /**
(...skipping 4057 matching lines...) Expand 10 before | Expand all | Expand 10 after
4412 4412
4413 @override 4413 @override
4414 bool moveNext() { 4414 bool moveNext() {
4415 if (_newSources.isEmpty) { 4415 if (_newSources.isEmpty) {
4416 return false; 4416 return false;
4417 } 4417 }
4418 currentTarget = _newSources.removeLast(); 4418 currentTarget = _newSources.removeLast();
4419 return true; 4419 return true;
4420 } 4420 }
4421 } 4421 }
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