Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: pkg/analyzer/lib/src/error/codes.dart

Issue 2992623002: Re-land of CL 2990703002, adding fixes to analyzer_test and error_test. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 baad8320645b41792e96db373f91258c656e98fd..d687703c61bc802168f2ba61dc82862b3361589b 100644
--- a/pkg/analyzer/lib/src/error/codes.dart
+++ b/pkg/analyzer/lib/src/error/codes.dart
@@ -4723,16 +4723,6 @@ class StaticWarningCode extends ErrorCode {
"Try correcting the name to an existing setter, or "
"defining the setter in a superclass of '{1}'.");
- /**
- * 7.2 Getters: It is a static warning if the return type of a getter is void.
- */
- static const StaticWarningCode VOID_RETURN_FOR_GETTER =
- const StaticWarningCode(
- 'VOID_RETURN_FOR_GETTER',
- "The return type of a getter can't be 'void'.",
- "Try providing a return type for the getter.",
- false);
-
/**
* A flag indicating whether this warning is an error when running with strong
* mode enabled.
« no previous file with comments | « pkg/analyzer/lib/src/dart/error/syntactic_errors.dart ('k') | pkg/analyzer/lib/src/generated/error_verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698