Chromium Code Reviews| Index: pkg/analyzer/lib/src/error/codes.dart |
| diff --git a/pkg/analyzer/lib/src/error/codes.dart b/pkg/analyzer/lib/src/error/codes.dart |
| index 8171fa6ab13f4c118a0c4237092fad9db00b2bec..099a06f0fa987e3379eaa1b7870782dea3e2b564 100644 |
| --- a/pkg/analyzer/lib/src/error/codes.dart |
| +++ b/pkg/analyzer/lib/src/error/codes.dart |
| @@ -2046,6 +2046,16 @@ class CompileTimeErrorCode extends ErrorCode { |
| "renaming the prefix."); |
| /** |
| + * It is an error for a mixin to add a private name that conflicts with a |
|
scheglov
2017/02/24 23:03:51
...?
Brian Wilkerson
2017/02/24 23:07:20
Thought completed.
|
| + */ |
| + static const CompileTimeErrorCode PRIVATE_COLLISION_IN_MIXIN_APPLICATION = |
| + const CompileTimeErrorCode( |
| + 'PRIVATE_COLLISION_IN_MIXIN_APPLICATION', |
| + "The private name {0}, defined by {1}, conflicts with the same name " |
| + "defined by {2}.", |
| + "Try removing {1} from the 'with' clause."); |
| + |
| + /** |
| * 6.2.2 Optional Formals: It is a compile-time error if the name of a named |
| * optional parameter begins with an '_' character. |
| */ |