5feffef90d
If a member is not considered "callable" from submodules, user code should not be able to invoke it. However, dynamic module subclasses may "inherit" the member. Virtual calls in the main module may then try to invoke the inherited member. We need to support updating the selector row in the dispatch table with the class ID of the new subclass. This is similar to an overridable function except that the slot will be filled with an imported member from the main module (not a newly defined member). See https://dart-review.googlesource.com/c/sdk/+/457441 for more context. Bug: https://github.com/dart-lang/sdk/issues/61813 Change-Id: I4162931747149a7356909ec62084375fc766b0cc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/458160 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Nate Biggs <natebiggs@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.