Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
chore: add ignores for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
incendial committed Jun 20, 2022
1 parent 8173b0f commit 262c90d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Expand Up @@ -273,7 +273,8 @@ class UnnecessaryNullableAnalyzer {
) {
final offset = element.codeOffset!;
final lineInfo = unit.lineInfo;
final offsetLocation = lineInfo.getLocation(offset);
// ignore: unnecessary_non_null_assertion
final offsetLocation = lineInfo!.getLocation(offset);

final sourceUrl = element.source!.uri;

Expand Down
Expand Up @@ -218,7 +218,8 @@ class UnusedCodeAnalyzer {
) {
final offset = element.codeOffset!;
final lineInfo = unit.lineInfo;
final offsetLocation = lineInfo.getLocation(offset);
// ignore: unnecessary_non_null_assertion
final offsetLocation = lineInfo!.getLocation(offset);

final sourceUrl = element.source!.uri;

Expand Down
Expand Up @@ -233,7 +233,8 @@ class UnusedL10nAnalyzer {
) {
final offset = element.codeOffset!;
final lineInfo = unit.lineInfo;
final offsetLocation = lineInfo.getLocation(offset);
// ignore: unnecessary_non_null_assertion
final offsetLocation = lineInfo!.getLocation(offset);

final sourceUrl = element.source!.uri;

Expand Down

0 comments on commit 262c90d

Please sign in to comment.