Skip to content

Commit

Permalink
Ignore invalid_use_of_visible_for_overriding_member in generated code…
Browse files Browse the repository at this point in the history
… for now
  • Loading branch information
greglittlefield-wf committed Jan 23, 2024
1 parent b2a1191 commit c859acb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Future<ResolvedUnitResult> setUpResult(SharedAnalysisContext sharedContext) asyn

List<AnalysisError> filterErrors(List<AnalysisError> errors) => errors
.where((e) => e.severity != Severity.info && !e.errorCode.name.toLowerCase().startsWith('unused_'))
// FIXME(FED-2015) remove once these are properly ignored in generated code
.where((e) => e.errorCode.name.toLowerCase() != 'invalid_use_of_visible_for_overriding_member')
.toList();

final libraryResult = await getResolvedUnit(libraryFullPath);
Expand Down

0 comments on commit c859acb

Please sign in to comment.