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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 781783002: Add an option for incremental resolution of API breaking changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | « pkg/analyzer/lib/src/generated/engine.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index fd50657c28bebfd5a6980da13c8e9c4454449470..75979bd997396da859fcb9820434c2e93062e463 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -22,6 +22,12 @@ import 'utilities_dart.dart';
/**
+ * If `true`, an attempt to resolve API-changing modifications is made.
+ */
+bool _resolveApiChanges = false;
+
+
+/**
* Instances of the class [DeclarationMatcher] determine whether the element
* model defined by a given AST structure matches an existing element model.
*/
@@ -956,7 +962,9 @@ class PoorMansIncrementalResolver {
List<AnalysisError> _newHints = <AnalysisError>[];
PoorMansIncrementalResolver(this._typeProvider, this._unitSource,
- this._librarySource, this._entry);
+ this._librarySource, this._entry, bool resolveApiChanges) {
+ _resolveApiChanges = resolveApiChanges;
+ }
/**
* Attempts to update [oldUnit] to the state corresponding to [newCode].
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698