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

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

Issue 2711733003: Issue 28862. Implement type inference for invokeConstructor. (Closed)
Patch Set: Created 3 years, 9 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/lib/src/generated/static_type_analyzer.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 { 71 class AnalysisDriver {
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 = 22; 75 static const int DATA_VERSION = 23;
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 1818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 libraryDeclarations.add(new TopLevelDeclarationInSource( 1904 libraryDeclarations.add(new TopLevelDeclarationInSource(
1905 file.source, declaration, isExported)); 1905 file.source, declaration, isExported));
1906 } 1906 }
1907 } 1907 }
1908 } 1908 }
1909 1909
1910 // We're not done yet. 1910 // We're not done yet.
1911 return false; 1911 return false;
1912 } 1912 }
1913 } 1913 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/static_type_analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698