| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 engine.compile_time_error_code_test; | 5 library analyzer.test.generated.compile_time_error_code_test; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/error.dart'; | 7 import 'package:analyzer/src/generated/error.dart'; |
| 8 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; | 8 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
| 9 import 'package:analyzer/src/generated/source_io.dart'; | 9 import 'package:analyzer/src/generated/source_io.dart'; |
| 10 | 10 |
| 11 import '../reflective_tests.dart'; | 11 import '../reflective_tests.dart'; |
| 12 import '../utils.dart'; | 12 import '../utils.dart'; |
| 13 import 'resolver_test.dart'; | 13 import 'resolver_test.dart'; |
| 14 | 14 |
| 15 main() { | 15 main() { |
| (...skipping 6249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6265 source, [CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR]); | 6265 source, [CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR]); |
| 6266 verify([source]); | 6266 verify([source]); |
| 6267 reset(); | 6267 reset(); |
| 6268 } | 6268 } |
| 6269 | 6269 |
| 6270 void _check_wrongNumberOfParametersForOperator1(String name) { | 6270 void _check_wrongNumberOfParametersForOperator1(String name) { |
| 6271 _check_wrongNumberOfParametersForOperator(name, ""); | 6271 _check_wrongNumberOfParametersForOperator(name, ""); |
| 6272 _check_wrongNumberOfParametersForOperator(name, "a, b"); | 6272 _check_wrongNumberOfParametersForOperator(name, "a, b"); |
| 6273 } | 6273 } |
| 6274 } | 6274 } |
| OLD | NEW |