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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2485853003: Include 'enableGenericMethods' into salt. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/analysis/driver.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart
index ee355c454854ac61277e113963616698cd569a26..0f2b947b9e7c0108cdff72d3460bea8b92ddf615 100644
--- a/pkg/analyzer/lib/src/dart/analysis/driver.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart
@@ -631,6 +631,7 @@ class AnalysisDriver {
void _fillSalt() {
int analysisOptionsSalt = 0;
analysisOptionsSalt |= _analysisOptions.strongMode ? (1 << 0) : 0;
+ analysisOptionsSalt |= _analysisOptions.enableGenericMethods ? (1 << 1) : 0;
Brian Wilkerson 2016/11/08 21:15:08 Have you looked at AnalysisOptionsImpl.encodeCross
scheglov 2016/11/09 01:21:38 Done.
_salt[0] = DATA_VERSION;
_salt[1] = analysisOptionsSalt;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698