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 c73de060edbe6a6c0bf9b81cc8ea1a53e6e4d55c..41cf63aa61cd6a61e5884e0dd61f60feb00ca712 100644 |
--- a/pkg/analyzer/lib/src/error/codes.dart |
+++ b/pkg/analyzer/lib/src/error/codes.dart |
@@ -953,17 +953,6 @@ class CompileTimeErrorCode extends ErrorCode { |
"removing the extends clause."); |
/** |
- * DEP 37 extends the syntax for assert() to allow a second "message" |
- * argument. We issue this error if the user tries to supply a "message" |
- * argument but the DEP is not enabled. |
- */ |
- static const CompileTimeErrorCode EXTRA_ARGUMENT_TO_ASSERT = |
- const CompileTimeErrorCode( |
- 'EXTRA_ARGUMENT_TO_ASSERT', |
- "Assertions only accept a single argument.", |
- "Try removing the message, or enable messages in assert statements."); |
- |
- /** |
* 12.14.2 Binding Actuals to Formals: It is a static warning if <i>m < |
* h</i> or if <i>m > n</i>. |
* |