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

Side by Side Diff: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library inferrer_visitor; 5 library inferrer_visitor;
6 6
7 import 'dart:collection' show IterableMixin; 7 import 'dart:collection' show IterableMixin;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../options.dart' show CompilerOptions; 10 import '../options.dart' show CompilerOptions;
11 import '../compiler.dart' show Compiler; 11 import '../compiler.dart' show Compiler;
12 import '../constants/constant_system.dart'; 12 import '../constants/constant_system.dart';
13 import '../constants/expressions.dart'; 13 import '../constants/expressions.dart';
14 import '../dart_types.dart'; 14 import '../elements/resolution_types.dart';
15 import '../elements/elements.dart'; 15 import '../elements/elements.dart';
16 import '../resolution/operators.dart'; 16 import '../resolution/operators.dart';
17 import '../resolution/semantic_visitor.dart'; 17 import '../resolution/semantic_visitor.dart';
18 import '../resolution/tree_elements.dart' show TreeElements; 18 import '../resolution/tree_elements.dart' show TreeElements;
19 import '../tree/tree.dart'; 19 import '../tree/tree.dart';
20 import '../types/constants.dart' show computeTypeMask; 20 import '../types/constants.dart' show computeTypeMask;
21 import '../types/types.dart' show TypeMask; 21 import '../types/types.dart' show TypeMask;
22 import '../universe/call_structure.dart' show CallStructure; 22 import '../universe/call_structure.dart' show CallStructure;
23 import '../universe/selector.dart' show Selector; 23 import '../universe/selector.dart' show Selector;
24 import '../util/util.dart'; 24 import '../util/util.dart';
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 return type; 1495 return type;
1496 } 1496 }
1497 1497
1498 T visitCascade(Cascade node) { 1498 T visitCascade(Cascade node) {
1499 // Ignore the result of the cascade send and return the type of the cascade 1499 // Ignore the result of the cascade send and return the type of the cascade
1500 // receiver. 1500 // receiver.
1501 visit(node.expression); 1501 visit(node.expression);
1502 return cascadeReceiverStack.removeLast(); 1502 return cascadeReceiverStack.removeLast();
1503 } 1503 }
1504 } 1504 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698