Skip to content

Commit a7095d3

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: Remove unused AnalyzeFunctionBodiesPredicate
Change-Id: I5f25d886b723e39d4b2a6369cec788d72635494c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/392222 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 25dd535 commit a7095d3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pkg/analyzer/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
* Remove deprecated `lint/Spelunker`.
3434
* Remove deprecated `source_resource.dart`.
3535
* Remove `MultiplyInheritedExecutableElement`.
36+
* Remove `AnalyzeFunctionBodiesPredicate`.
3637

3738
## 6.11.0
3839
* Un-deprecated `LibraryElement.exportedLibraries`.

pkg/analyzer/lib/src/generated/engine.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import 'package:analyzer/file_system/file_system.dart';
1515
import 'package:analyzer/instrumentation/instrumentation.dart';
1616
import 'package:analyzer/source/error_processor.dart';
1717
import 'package:analyzer/source/line_info.dart';
18-
import 'package:analyzer/source/source.dart';
1918
import 'package:analyzer/src/analysis_options/code_style_options.dart';
2019
import 'package:analyzer/src/dart/analysis/experiments.dart';
2120
import 'package:analyzer/src/generated/source.dart' show SourceFactory;
@@ -35,10 +34,6 @@ export 'package:analyzer/error/listener.dart' show RecordingErrorListener;
3534
export 'package:analyzer/src/generated/timestamped_data.dart'
3635
show TimestampedData;
3736

38-
/// Used by [AnalysisOptions] to allow function bodies to be analyzed in some
39-
/// sources but not others.
40-
typedef AnalyzeFunctionBodiesPredicate = bool Function(Source source);
41-
4237
/// A context in which a single analysis can be performed and incrementally
4338
/// maintained. The context includes such information as the version of the SDK
4439
/// being analyzed against, and how to resolve 'package:' URI's. (Both of which

0 commit comments

Comments
 (0)