Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 97ac5a6

Browse files
committed
fix-bug
1 parent 9e119d1 commit 97ac5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rules/non_nullable_equals_parameter_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class D extends C {
3939
test_class_nonNullableParameter_narrowedType() async {
4040
await assertNoDiagnostics(r'''
4141
class C {
42-
bool operator ==(int other) => other is C;
42+
bool operator ==(covariant int other) => other is C;
4343
}
4444
''');
4545
}

0 commit comments

Comments
 (0)