Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit e603f89

Browse files
authored
Remove outdated deprecated_member_use ignores (#51836)
These are obsolete with #50575.
1 parent 74dbba4 commit e603f89

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

lib/ui/hash_codes.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
part of dart.ui;
55

66
// Examples can assume:
7-
// // ignore_for_file: deprecated_member_use
87
// int foo = 0;
98
// int bar = 0;
109
// List<int> quux = <int>[];

lib/web_ui/test/engine/hash_codes_test.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ void main() {
1616
internalBootstrapBrowserTest(() => testMain);
1717
}
1818

19-
// Ignoring the deprecated member use because we're specifically testing
20-
// deprecated API.
21-
// ignore: deprecated_member_use
22-
2319
void testMain() {
2420
test('hashValues and hashList can hash lots of huge values effectively', () {
2521
final int hashValueFromArgs = hashValues(

testing/dart/channel_buffers_test.dart

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ void main() {
3737
called = true;
3838
}
3939
buffers.push(channel, data, callback);
40-
// Ignoring the deprecated member use because we're specifically testing
41-
// deprecated API.
42-
// ignore: deprecated_member_use
4340
await buffers.drain(channel, (ByteData? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
4441
expect(drainedData, equals(data));
4542
expect(called, isFalse);
@@ -59,11 +56,6 @@ void main() {
5956
scheduleMicrotask(() { log.add('before drain, microtask'); });
6057
log.add('before drain');
6158

62-
// Ignoring the returned future because the completion of the drain is
63-
// communicated using the `completer`.
64-
// Ignoring the deprecated member use because we're specifically testing
65-
// deprecated API.
66-
// ignore: deprecated_member_use
6759
buffers.drain(channel, (ByteData? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
6860
log.add('callback');
6961
completer.complete();
@@ -89,9 +81,6 @@ void main() {
8981
_resize(buffers, channel, 0);
9082
buffers.push(channel, data, callback);
9183
bool didCall = false;
92-
// Ignoring the deprecated member use because we're specifically testing
93-
// deprecated API.
94-
// ignore: deprecated_member_use
9584
await buffers.drain(channel, (ByteData? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
9685
didCall = true;
9786
});
@@ -102,9 +91,6 @@ void main() {
10291
const String channel = 'foo';
10392
final ui.ChannelBuffers buffers = ui.ChannelBuffers();
10493
bool didCall = false;
105-
// Ignoring the deprecated member use because we're specifically testing
106-
// deprecated API.
107-
// ignore: deprecated_member_use
10894
await buffers.drain(channel, (ByteData? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
10995
didCall = true;
11096
});
@@ -125,9 +111,6 @@ void main() {
125111
buffers.push(channel, three, callback);
126112
buffers.push(channel, four, callback);
127113
int counter = 0;
128-
// Ignoring the deprecated member use because we're specifically testing
129-
// deprecated API.
130-
// ignore: deprecated_member_use
131114
await buffers.drain(channel, (ByteData? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
132115
switch (counter) {
133116
case 0:
@@ -153,9 +136,6 @@ void main() {
153136
buffers.push(channel, two, callback);
154137
_resize(buffers, channel, 1);
155138
int counter = 0;
156-
// Ignoring the deprecated member use because we're specifically testing
157-
// deprecated API.
158-
// ignore: deprecated_member_use
159139
await buffers.drain(channel, (ByteData? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
160140
switch (counter) {
161141
case 0:

0 commit comments

Comments
 (0)