f75a80392e
Instead of validating the erasure of an extension type, validate that extension type declaration and type arguments are specified as callable. TEST=pkg/dynamic_modules/test/data/extension_type2 Fixes b/411433443 Change-Id: I063f0a622abd0d75594c4095573b29a7888f5afb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423882 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
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.