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

Side by Side Diff: lib/src/info.dart

Issue 1797063002: Resolve obvious deprecation warnings on bleeding edge (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Add test Created 4 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 | « lib/src/compiler.dart ('k') | lib/src/server/dependency_graph.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Defines static information collected by the type checker and used later by 5 /// Defines static information collected by the type checker and used later by
6 /// emitters to generate code. 6 /// emitters to generate code.
7 7
8 import 'package:analyzer/dart/ast/ast.dart'; 8 import 'package:analyzer/dart/ast/ast.dart';
9 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/src/dart/ast/ast.dart'; 10 import 'package:analyzer/src/dart/ast/ast.dart';
10 import 'package:analyzer/src/dart/ast/utilities.dart'; 11 import 'package:analyzer/src/dart/ast/utilities.dart';
11 import 'package:analyzer/src/generated/element.dart';
12 import 'package:analyzer/src/generated/parser.dart'; 12 import 'package:analyzer/src/generated/parser.dart';
13 13
14 import 'utils.dart' as utils; 14 import 'utils.dart' as utils;
15
15 import 'package:analyzer/src/task/strong/info.dart'; 16 import 'package:analyzer/src/task/strong/info.dart';
16 export 'package:analyzer/src/task/strong/info.dart'; 17 export 'package:analyzer/src/task/strong/info.dart';
17 18
18 /// Represents a summary of the results collected by running the program 19 /// Represents a summary of the results collected by running the program
19 /// checker. 20 /// checker.
20 class CheckerResults { 21 class CheckerResults {
21 final List<LibraryInfo> libraries; 22 final List<LibraryInfo> libraries;
22 final bool failure; 23 final bool failure;
23 24
24 CheckerResults(this.libraries, this.failure); 25 CheckerResults(this.libraries, this.failure);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 104
104 @override 105 @override
105 ExpressionFunctionBody visitExpressionFunctionBody( 106 ExpressionFunctionBody visitExpressionFunctionBody(
106 ExpressionFunctionBody node) { 107 ExpressionFunctionBody node) {
107 var clone = super.visitExpressionFunctionBody(node); 108 var clone = super.visitExpressionFunctionBody(node);
108 (clone as FunctionBodyImpl).localVariableInfo = 109 (clone as FunctionBodyImpl).localVariableInfo =
109 (node as FunctionBodyImpl).localVariableInfo; 110 (node as FunctionBodyImpl).localVariableInfo;
110 return clone; 111 return clone;
111 } 112 }
112 } 113 }
OLDNEW
« no previous file with comments | « lib/src/compiler.dart ('k') | lib/src/server/dependency_graph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698