| OLD | NEW |
| 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 '../dart2jslib.dart' hide Selector, TypedSelector; | 7 import '../dart2jslib.dart' hide Selector, TypedSelector; |
| 8 import '../dart_types.dart'; | 8 import '../dart_types.dart'; |
| 9 import '../elements/elements.dart'; | 9 import '../elements/elements.dart'; |
| 10 import '../tree/tree.dart'; | 10 import '../tree/tree.dart'; |
| (...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 return type; | 1258 return type; |
| 1259 } | 1259 } |
| 1260 | 1260 |
| 1261 T visitCascade(Cascade node) { | 1261 T visitCascade(Cascade node) { |
| 1262 // Ignore the result of the cascade send and return the type of the cascade | 1262 // Ignore the result of the cascade send and return the type of the cascade |
| 1263 // receiver. | 1263 // receiver. |
| 1264 visit(node.expression); | 1264 visit(node.expression); |
| 1265 return cascadeReceiverStack.removeLast(); | 1265 return cascadeReceiverStack.removeLast(); |
| 1266 } | 1266 } |
| 1267 } | 1267 } |
| OLD | NEW |