Files
sdk/pkg/_fe_analyzer_shared
Chloe Stefantsova de9f9f7eca [analyzer][cfe] Add TypeAnalyzerOperations.isDartCoreFunction
This CL adds a helper method to test if a type is the type
`Function` from `dart:core`. The added method is applied in the
constraint generation algorithms in the Analyzer and the CFE.

Part of https://github.com/dart-lang/sdk/issues/54902

Change-Id: I94aae6247432a7e4a431cd68ae0326ea4f693cac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362482
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
2024-04-15 06:47:24 +00:00
..
2022-02-14 14:06:34 +00:00

FE/analyzer shared code

This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.

End users should consider using the analyzer package to analyze Dart source code.