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 DON'T EDIT. GENERATED. DON'T EDIT. | 5 DON'T EDIT. GENERATED. DON'T EDIT. |
6 This file has been generated by 'publish.dart' in the dart_messages package. | 6 This file has been generated by 'publish.dart' in the dart_messages package. |
7 | 7 |
8 Messages are maintained in `lib/shared_messages.dart` of that same package. | 8 Messages are maintained in `lib/shared_messages.dart` of that same package. |
9 After any change to that file, run `bin/publish.dart` to generate a new version | 9 After any change to that file, run `bin/publish.dart` to generate a new version |
10 of the json, dart2js and analyzer representations. | 10 of the json, dart2js and analyzer representations. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 const CompileTimeErrorCode RETURN_IN_GENERATIVE_CONSTRUCTOR = const CompileTimeE
rrorCode( | 75 const CompileTimeErrorCode RETURN_IN_GENERATIVE_CONSTRUCTOR = const CompileTimeE
rrorCode( |
76 'RETURN_IN_GENERATIVE_CONSTRUCTOR', | 76 'RETURN_IN_GENERATIVE_CONSTRUCTOR', |
77 "Constructors can't return values.", | 77 "Constructors can't return values.", |
78 "Try removing the return statement or using a factory constructor."); // Ge
nerated. Don't edit. | 78 "Try removing the return statement or using a factory constructor."); // Ge
nerated. Don't edit. |
79 | 79 |
80 const CompileTimeErrorCode RETURN_IN_GENERATOR = const CompileTimeErrorCode( | 80 const CompileTimeErrorCode RETURN_IN_GENERATOR = const CompileTimeErrorCode( |
81 'RETURN_IN_GENERATOR', | 81 'RETURN_IN_GENERATOR', |
82 "Can't return a value from a generator function (using the '{0}' modifier)."
, | 82 "Can't return a value from a generator function (using the '{0}' modifier)."
, |
83 "Try removing the value, replacing 'return' with 'yield' or changing the met
hod body modifier"); // Generated. Don't edit. | 83 "Try removing the value, replacing 'return' with 'yield' or changing the met
hod body modifier"); // Generated. Don't edit. |
| 84 |
| 85 const StaticTypeWarningCode RETURN_OF_INVALID_TYPE = const StaticTypeWarningCode
( |
| 86 'RETURN_OF_INVALID_TYPE', |
| 87 "The return type '{0}' is not a '{1}', as defined by the method '{2}'.", |
| 88 null); // Generated. Don't edit. |
| 89 |
| 90 const HintCode ARGUMENT_TYPE_NOT_ASSIGNABLE_HINT = const HintCode( |
| 91 'ARGUMENT_TYPE_NOT_ASSIGNABLE', |
| 92 "The argument type '{0}' cannot be assigned to the parameter type '{1}'.", |
| 93 null); // Generated. Don't edit. |
| 94 |
| 95 const StaticWarningCode ARGUMENT_TYPE_NOT_ASSIGNABLE_STATIC_WARNING = const Stat
icWarningCode( |
| 96 'ARGUMENT_TYPE_NOT_ASSIGNABLE', |
| 97 "The argument type '{0}' cannot be assigned to the parameter type '{1}'.", |
| 98 null); // Generated. Don't edit. |
OLD | NEW |