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

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 1289273005: Disable dart2js hints by default. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Test fixes. Created 5 years, 4 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/generated/resolver_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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 engine; 5 library engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:math' as math; 9 import 'dart:math' as math;
10 10
(...skipping 6226 matching lines...) Expand 10 before | Expand all | Expand 10 after
6237 /** 6237 /**
6238 * The maximum number of sources for which AST structures should be kept in 6238 * The maximum number of sources for which AST structures should be kept in
6239 * the cache. 6239 * the cache.
6240 */ 6240 */
6241 int cacheSize = DEFAULT_CACHE_SIZE; 6241 int cacheSize = DEFAULT_CACHE_SIZE;
6242 6242
6243 /** 6243 /**
6244 * A flag indicating whether analysis is to generate dart2js related hint 6244 * A flag indicating whether analysis is to generate dart2js related hint
6245 * results. 6245 * results.
6246 */ 6246 */
6247 bool dart2jsHint = true; 6247 bool dart2jsHint = false;
6248 6248
6249 /** 6249 /**
6250 * A flag indicating whether generic methods are to be supported (DEP 22). 6250 * A flag indicating whether generic methods are to be supported (DEP 22).
6251 */ 6251 */
6252 bool enableGenericMethods = false; 6252 bool enableGenericMethods = false;
6253 6253
6254 /** 6254 /**
6255 * A flag indicating whether analysis is to strictly follow the specification 6255 * A flag indicating whether analysis is to strictly follow the specification
6256 * when generating warnings on "call" methods (fixes dartbug.com/21938). 6256 * when generating warnings on "call" methods (fixes dartbug.com/21938).
6257 */ 6257 */
(...skipping 5665 matching lines...) Expand 10 before | Expand all | Expand 10 after
11923 PendingFuture pendingFuture = 11923 PendingFuture pendingFuture =
11924 new PendingFuture<T>(_context, source, computeValue); 11924 new PendingFuture<T>(_context, source, computeValue);
11925 if (!pendingFuture.evaluate(sourceEntry)) { 11925 if (!pendingFuture.evaluate(sourceEntry)) {
11926 _context._pendingFutureSources 11926 _context._pendingFutureSources
11927 .putIfAbsent(source, () => <PendingFuture>[]) 11927 .putIfAbsent(source, () => <PendingFuture>[])
11928 .add(pendingFuture); 11928 .add(pendingFuture);
11929 } 11929 }
11930 return pendingFuture.future; 11930 return pendingFuture.future;
11931 } 11931 }
11932 } 11932 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698