| OLD | NEW |
| 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 library dart2js.constants.constructors; | 5 library dart2js.constants.constructors; |
| 6 | 6 |
| 7 import '../dart2jslib.dart'; | 7 import '../dart2jslib.dart'; |
| 8 import '../dart_types.dart'; | 8 import '../dart_types.dart'; |
| 9 import '../elements/elements.dart'; | 9 import '../elements/elements.dart'; |
| 10 import '../resolution/resolution.dart'; | 10 import '../resolution/resolution.dart'; |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 } | 368 } |
| 369 return new IdenticalConstantExpression( | 369 return new IdenticalConstantExpression( |
| 370 apply(arguments.nodes.head), apply(arguments.nodes.tail.head)); | 370 apply(arguments.nodes.head), apply(arguments.nodes.tail.head)); |
| 371 } | 371 } |
| 372 | 372 |
| 373 @override | 373 @override |
| 374 ConstantExpression visitNamedArgument(NamedArgument node) { | 374 ConstantExpression visitNamedArgument(NamedArgument node) { |
| 375 return apply(node.expression); | 375 return apply(node.expression); |
| 376 } | 376 } |
| 377 } | 377 } |
| OLD | NEW |