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

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

Issue 1927323002: Implement stable resolution of generic types without type arguments to their bounds. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge and regenerate the task graph. Created 4 years, 7 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
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_work_manager; 5 library analyzer.src.task.dart_work_manager;
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/engine.dart' 10 import 'package:analyzer/src/generated/engine.dart'
(...skipping 23 matching lines...) Expand all
34 34
35 /** 35 /**
36 * The list of errors that are reported for raw Dart [LibrarySpecificUnit]s. 36 * The list of errors that are reported for raw Dart [LibrarySpecificUnit]s.
37 */ 37 */
38 static final List<ResultDescriptor<List<AnalysisError>>> _UNIT_ERRORS = 38 static final List<ResultDescriptor<List<AnalysisError>>> _UNIT_ERRORS =
39 <ResultDescriptor<List<AnalysisError>>>[ 39 <ResultDescriptor<List<AnalysisError>>>[
40 HINTS, 40 HINTS,
41 LINTS, 41 LINTS,
42 LIBRARY_UNIT_ERRORS, 42 LIBRARY_UNIT_ERRORS,
43 RESOLVE_TYPE_NAMES_ERRORS, 43 RESOLVE_TYPE_NAMES_ERRORS,
44 RESOLVE_TYPE_BOUNDS_ERRORS,
44 RESOLVE_UNIT_ERRORS, 45 RESOLVE_UNIT_ERRORS,
45 STRONG_MODE_ERRORS, 46 STRONG_MODE_ERRORS,
46 VARIABLE_REFERENCE_ERRORS, 47 VARIABLE_REFERENCE_ERRORS,
47 VERIFY_ERRORS 48 VERIFY_ERRORS
48 ]; 49 ];
49 50
50 final InternalAnalysisContext context; 51 final InternalAnalysisContext context;
51 52
52 /** 53 /**
53 * The [TargetedResult]s that should be computed with priority. 54 * The [TargetedResult]s that should be computed with priority.
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 470 }
470 } 471 }
471 472
472 bool _shouldErrorsBeComputed(Source source) => 473 bool _shouldErrorsBeComputed(Source source) =>
473 context.shouldErrorsBeAnalyzed(source); 474 context.shouldErrorsBeAnalyzed(source);
474 475
475 static bool _isDartSource(AnalysisTarget target) { 476 static bool _isDartSource(AnalysisTarget target) {
476 return target is Source && AnalysisEngine.isDartFileName(target.fullName); 477 return target is Source && AnalysisEngine.isDartFileName(target.fullName);
477 } 478 }
478 } 479 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | pkg/analyzer/test/generated/incremental_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698