Lint request: avoid dynamic dispatch #57971
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-lint-request
type-enhancement
A request for a change that isn't a bug
Dynamic dispatch has several costs: it can be expensive, and can prevent tree-shaking.
The lint rule would report any methods being called on dynamic (other than methods on Object?).
Examples:
The text was updated successfully, but these errors were encountered: