Skip to content

Commit 6d6159f

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: Remove LintRule.reportLint
Change-Id: Id4b41082ffa478bf64c1364dc5b3cb92f011903f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425681 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent e988c25 commit 6d6159f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pkg/analyzer/lib/src/lint/linter.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -330,19 +330,6 @@ abstract class LintRule {
330330
);
331331
}
332332
}
333-
334-
// TODO(srawlins): Deprecate this in favor of [reportNode].
335-
void reportLint(
336-
AstNode? node, {
337-
List<Object> arguments = const [],
338-
List<DiagnosticMessage>? contextMessages,
339-
ErrorCode? errorCode,
340-
}) => reportAtNode(
341-
node,
342-
arguments: arguments,
343-
contextMessages: contextMessages,
344-
errorCode: errorCode,
345-
);
346333
}
347334

348335
/// Provides access to information needed by lint rules that is not available

0 commit comments

Comments
 (0)