Skip to content

Commit 64b664f

Browse files
committed
Ignore warnings about internal
1 parent 13f5964 commit 64b664f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/test_package/lib/example.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const String COMPLEX_COLOR = 'red' + '-' + 'green' + '-' + 'blue';
3131
const DO_NOT_DOCUMENT = 'not documented';
3232

3333
/// top level internal variable
34+
// ignore: invalid_internal_annotation
3435
@internal
3536
final topLevelInternal = 'not documented';
3637

@@ -173,7 +174,8 @@ class Apple {
173174
*/
174175
void notAPublicMethod() {}
175176

176-
/// No public docs for this
177+
/// No public docs for this
178+
// ignore: invalid_internal_annotation
177179
@internal
178180
void internalMethod() {}
179181

@@ -250,8 +252,6 @@ class B extends Apple with Cat {
250252
void abstractMethod() {}
251253

252254
@override void internalMethod() {}
253-
254-
@override void testMethod() {}
255255
}
256256

257257
/// Reference to nullable type: [Apple?] and null-checked variable [myNumber!].

0 commit comments

Comments
 (0)