c985ba8e14
When creating an instance of a class or calling a factory constructor, dynamic module may pass a vector of instantator type arguments which includes types mentioned in supertypes along with types specified at the call site. So, for every exposed generative constructor and factory all the types mentioned in the supertypes of their declaring classes should be annotated as implicitly callable in order to prevent their tree-shaking. TEST=pkg/dynamic_modules/test/data/super_type_param Fixes b/470446652 Change-Id: I6abe570261a8f23f8022cb77110c3a5ec40ccbe8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/470781 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This package contains experimental dynamic modules API.
Status: experimental
NOTE: This package is currently experimental and not published or included in the SDK.
Do not take dependency on this package unless you are prepared for breaking changes and possibly removal of this code at any point in time.