0064249ab3
Only enforce that a library must be 3.0 or higher if it contains extendable elements. Otherwise, we can ignore legacy mixin classes and trim the entire library. TESTED=apply_mixin case in dynamic_modules tests. Change-Id: I1378c6d4678305ae634b4259e7eb28a48327d645 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425187 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>