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

Unified Diff: pkg/analyzer/lib/src/generated/utilities_collection.dart

Issue 2650063004: Revert "Clean up new errors and warnings" (TBR) (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/error_verifier.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/utilities_collection.dart
diff --git a/pkg/analyzer/lib/src/generated/utilities_collection.dart b/pkg/analyzer/lib/src/generated/utilities_collection.dart
index 028238d9ae04f45cf8c35d90f03b9974611809ae..b1c5e884fb4925114540e47eda56590a7fd57505 100644
--- a/pkg/analyzer/lib/src/generated/utilities_collection.dart
+++ b/pkg/analyzer/lib/src/generated/utilities_collection.dart
@@ -50,8 +50,7 @@ class BooleanArray {
* Return the value of the element at the given index.
*/
@deprecated
- static bool getEnum<T extends Enum<T>>(int array, Enum<T> index) => get(
- array, index.ordinal);
+ static bool getEnum(int array, Enum index) => get(array, index.ordinal);
/**
* Set the value of the element of the given [array] at the given [index] to
@@ -70,7 +69,7 @@ class BooleanArray {
* Set the value of the element at the given index to the given value.
*/
@deprecated
- static int setEnum<T extends Enum<T>>(int array, Enum<T> index, bool value) =>
+ static int setEnum(int array, Enum index, bool value) =>
set(array, index.ordinal, value);
/**
« no previous file with comments | « pkg/analyzer/lib/src/generated/error_verifier.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698