| 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.serialization_test; | 5 library dart2js.serialization_test; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 import 'memory_compiler.dart'; | 8 import 'memory_compiler.dart'; |
| 9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
| 10 import 'package:compiler/src/constants/constructors.dart'; | 10 import 'package:compiler/src/constants/constructors.dart'; |
| 11 import 'package:compiler/src/constants/expressions.dart'; | 11 import 'package:compiler/src/constants/expressions.dart'; |
| 12 import 'package:compiler/src/dart_types.dart'; | 12 import 'package:compiler/src/dart_types.dart'; |
| 13 import 'package:compiler/src/dart2jslib.dart'; | 13 import 'package:compiler/src/compiler.dart'; |
| 14 import 'package:compiler/src/diagnostics/invariant.dart'; |
| 14 import 'package:compiler/src/elements/elements.dart'; | 15 import 'package:compiler/src/elements/elements.dart'; |
| 15 import 'package:compiler/src/elements/visitor.dart'; | 16 import 'package:compiler/src/elements/visitor.dart'; |
| 16 import 'package:compiler/src/ordered_typeset.dart'; | 17 import 'package:compiler/src/ordered_typeset.dart'; |
| 17 import 'package:compiler/src/serialization/serialization.dart'; | 18 import 'package:compiler/src/serialization/serialization.dart'; |
| 18 import 'package:compiler/src/serialization/json_serializer.dart'; | 19 import 'package:compiler/src/serialization/json_serializer.dart'; |
| 19 import 'package:compiler/src/tree/tree.dart'; | 20 import 'package:compiler/src/tree/tree.dart'; |
| 20 | 21 |
| 21 main(List<String> arguments) { | 22 main(List<String> arguments) { |
| 22 // Ensure that we can print out constant expressions. | 23 // Ensure that we can print out constant expressions. |
| 23 DEBUG_MODE = true; | 24 DEBUG_MODE = true; |
| (...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 exp1, exp2, 'expression', | 1043 exp1, exp2, 'expression', |
| 1043 exp1.expression, exp2.expression); | 1044 exp1.expression, exp2.expression); |
| 1044 } | 1045 } |
| 1045 | 1046 |
| 1046 @override | 1047 @override |
| 1047 visitDeferred(DeferredConstantExpression exp1, | 1048 visitDeferred(DeferredConstantExpression exp1, |
| 1048 DeferredConstantExpression exp2) { | 1049 DeferredConstantExpression exp2) { |
| 1049 // TODO: implement visitDeferred | 1050 // TODO: implement visitDeferred |
| 1050 } | 1051 } |
| 1051 } | 1052 } |
| OLD | NEW |