OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
1 library dev_compiler.test.transformer.transformer_test; | 5 library dev_compiler.test.transformer.transformer_test; |
2 | 6 |
3 import 'package:barback/barback.dart' show BarbackMode, BarbackSettings; | 7 import 'package:barback/barback.dart' show BarbackMode, BarbackSettings; |
4 import 'package:dev_compiler/transformer.dart'; | 8 import 'package:dev_compiler/transformer.dart'; |
5 import 'package:dev_compiler/src/compiler.dart' show defaultRuntimeFiles; | 9 import 'package:dev_compiler/src/compiler.dart' show defaultRuntimeFiles; |
6 import 'package:test/test.dart'; | 10 import 'package:test/test.dart'; |
7 import 'package:transformer_test/utils.dart'; | 11 import 'package:transformer_test/utils.dart'; |
8 | 12 |
9 makePhases([Map config = const {}]) => [ | 13 makePhases([Map config = const {}]) => [ |
10 [ | 14 [ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 } | 91 } |
88 ''' | 92 ''' |
89 }), | 93 }), |
90 {}, | 94 {}, |
91 [ | 95 [ |
92 "warning: A value of type \'String\' cannot be assigned to a variable
of type \'int\' (package:foo/Foo.dart 3 19)", | 96 "warning: A value of type \'String\' cannot be assigned to a variable
of type \'int\' (package:foo/Foo.dart 3 19)", |
93 "error: Type check failed: '2' (String) is not of type int (package:fo
o/Foo.dart 3 19)" | 97 "error: Type check failed: '2' (String) is not of type int (package:fo
o/Foo.dart 3 19)" |
94 ]); | 98 ]); |
95 }); | 99 }); |
96 } | 100 } |
OLD | NEW |