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

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

Issue 1644823002: Remove library tags, they aren't needed (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
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 library dev_compiler.src.info;
8 7
9 import 'package:analyzer/src/generated/ast.dart'; 8 import 'package:analyzer/src/generated/ast.dart';
10 import 'package:analyzer/src/generated/element.dart'; 9 import 'package:analyzer/src/generated/element.dart';
11 import 'package:analyzer/src/generated/parser.dart'; 10 import 'package:analyzer/src/generated/parser.dart';
12 11
13 import 'utils.dart' as utils; 12 import 'utils.dart' as utils;
14 import 'package:analyzer/src/task/strong/info.dart'; 13 import 'package:analyzer/src/task/strong/info.dart';
15 export 'package:analyzer/src/task/strong/info.dart'; 14 export 'package:analyzer/src/task/strong/info.dart';
16 15
17 /// Represents a summary of the results collected by running the program 16 /// Represents a summary of the results collected by running the program
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // TODO(jmesserly): as a workaround for analyzer <0.26.0-alpha.1. 93 // TODO(jmesserly): as a workaround for analyzer <0.26.0-alpha.1.
95 // ResolutionCopier won't copy the type, so we do it here. 94 // ResolutionCopier won't copy the type, so we do it here.
96 @override 95 @override
97 AwaitExpression visitAwaitExpression(AwaitExpression node) { 96 AwaitExpression visitAwaitExpression(AwaitExpression node) {
98 var clone = super.visitAwaitExpression(node); 97 var clone = super.visitAwaitExpression(node);
99 clone.staticType = node.staticType; 98 clone.staticType = node.staticType;
100 clone.propagatedType = node.propagatedType; 99 clone.propagatedType = node.propagatedType;
101 return clone; 100 return clone;
102 } 101 }
103 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698