Chromium Code Reviews| Index: pkg/analyzer/lib/src/generated/error.dart |
| diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart |
| index 4a78c0d410d417db33f32faad601533bc673afe0..9b588dad387ff03d2fe97fb94a7c6d6d41e45b86 100644 |
| --- a/pkg/analyzer/lib/src/generated/error.dart |
| +++ b/pkg/analyzer/lib/src/generated/error.dart |
| @@ -2706,6 +2706,7 @@ abstract class ErrorCode { |
| HintCode.UNUSED_CATCH_CLAUSE, |
| HintCode.UNUSED_CATCH_STACK, |
| HintCode.UNUSED_LOCAL_VARIABLE, |
| + HintCode.UNUSED_SHOWN_NAME, |
| HintCode.USE_OF_VOID_RESULT, |
| HintCode.FILE_IMPORT_INSIDE_LIB_REFERENCES_FILE_OUTSIDE, |
| HintCode.FILE_IMPORT_OUTSIDE_LIB_REFERENCES_FILE_INSIDE, |
| @@ -3778,6 +3779,12 @@ class HintCode extends ErrorCode { |
| "The value of the local variable '{0}' is not used"); |
| /** |
| + * Unused shown names are names shown on imports which are never used. |
| + */ |
| + static const HintCode UNUSED_SHOWN_NAME = |
| + const HintCode('UNUSED_SHOWN_NAME', "Unused name shown in import"); |
|
Brian Wilkerson
2016/04/06 15:17:40
The name should be included in the error message.
srawlins
2016/04/07 15:27:22
Done.
|
| + |
| + /** |
| * Hint for cases where the source expects a method or function to return a |
| * non-void result, but the method or function signature returns void. |
| * |