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

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

Issue 2491533002: Don't ovewrite method types of a resynthesized library in TypeResolverVisitor. (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 unified diff | Download patch
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/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/error/error.dart'; 10 import 'package:analyzer/error/error.dart';
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 * 59 *
60 * 60 *
61 * TODO(scheglov) Clean up the list of implicitly analyzed files. 61 * TODO(scheglov) Clean up the list of implicitly analyzed files.
62 * 62 *
63 * TODO(scheglov) Handle not existing 'dart:x' URIs (while user is typing). 63 * TODO(scheglov) Handle not existing 'dart:x' URIs (while user is typing).
64 */ 64 */
65 class AnalysisDriver { 65 class AnalysisDriver {
66 /** 66 /**
67 * The version of data format, should be incremented on every format change. 67 * The version of data format, should be incremented on every format change.
68 */ 68 */
69 static const int DATA_VERSION = 2; 69 static const int DATA_VERSION = 3;
Paul Berry 2016/11/09 17:14:05 Note: I just landed a change which bumps DATA_VERS
70 70
71 /** 71 /**
72 * The name of the driver, e.g. the name of the folder. 72 * The name of the driver, e.g. the name of the folder.
73 */ 73 */
74 String name; 74 String name;
75 75
76 /** 76 /**
77 * The scheduler that schedules analysis work in this, and possibly other 77 * The scheduler that schedules analysis work in this, and possibly other
78 * analysis drivers. 78 * analysis drivers.
79 */ 79 */
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 /** 1229 /**
1230 * Complete the [signal] future if it is not completed yet. It is safe to 1230 * Complete the [signal] future if it is not completed yet. It is safe to
1231 * call this method multiple times, but the [signal] will complete only once. 1231 * call this method multiple times, but the [signal] will complete only once.
1232 */ 1232 */
1233 void notify() { 1233 void notify() {
1234 if (!_completer.isCompleted) { 1234 if (!_completer.isCompleted) {
1235 _completer.complete(null); 1235 _completer.complete(null);
1236 } 1236 }
1237 } 1237 }
1238 } 1238 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | pkg/analyzer/lib/src/generated/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698