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

Side by Side Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2782533002: Report errors for the new top-level inference rules. (Closed)
Patch Set: Update language_strong status for analyzer. Created 3 years, 8 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 | « pkg/analyzer/lib/error/error.dart ('k') | pkg/analyzer/lib/src/error/codes.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 8
9 import 'package:analyzer/context/declared_variables.dart'; 9 import 'package:analyzer/context/declared_variables.dart';
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 * results are "eventually consistent" with the file system by simply calling 65 * results are "eventually consistent" with the file system by simply calling
66 * [changeFile] any time the contents of a file on the file system have changed. 66 * [changeFile] any time the contents of a file on the file system have changed.
67 * 67 *
68 * 68 *
69 * TODO(scheglov) Clean up the list of implicitly analyzed files. 69 * TODO(scheglov) Clean up the list of implicitly analyzed files.
70 */ 70 */
71 class AnalysisDriver implements AnalysisDriverGeneric { 71 class AnalysisDriver implements AnalysisDriverGeneric {
72 /** 72 /**
73 * The version of data format, should be incremented on every format change. 73 * The version of data format, should be incremented on every format change.
74 */ 74 */
75 static const int DATA_VERSION = 27; 75 static const int DATA_VERSION = 28;
76 76
77 /** 77 /**
78 * The number of exception contexts allowed to write. Once this field is 78 * The number of exception contexts allowed to write. Once this field is
79 * zero, we stop writing any new exception contexts in this process. 79 * zero, we stop writing any new exception contexts in this process.
80 */ 80 */
81 static int allowedNumberOfContextsToWrite = 10; 81 static int allowedNumberOfContextsToWrite = 10;
82 82
83 /** 83 /**
84 * The name of the driver, e.g. the name of the folder. 84 * The name of the driver, e.g. the name of the folder.
85 */ 85 */
(...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 libraryDeclarations.add(new TopLevelDeclarationInSource( 1933 libraryDeclarations.add(new TopLevelDeclarationInSource(
1934 file.source, declaration, isExported)); 1934 file.source, declaration, isExported));
1935 } 1935 }
1936 } 1936 }
1937 } 1937 }
1938 1938
1939 // We're not done yet. 1939 // We're not done yet.
1940 return false; 1940 return false;
1941 } 1941 }
1942 } 1942 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/error/error.dart ('k') | pkg/analyzer/lib/src/error/codes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698