6567ad63ce
This fixes a bug where an extension wasn't available when multiple imports had the same name but the extension wasn't exported through the first import. Change-Id: Idfb6836111465baa66b339e1114206b5d8216715 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212820 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
16 lines
505 B
Dart
16 lines
505 B
Dart
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'multi_export_lib1.dart' as lib;
|
|
import 'multi_export_lib2.dart' as lib;
|
|
import 'multi_export_lib3.dart' as lib;
|
|
import 'multi_export_lib4.dart' as lib;
|
|
|
|
main() {
|
|
lib.SubClass1()..method();
|
|
lib.SubClass2()..method();
|
|
lib.SubClass3()..method();
|
|
lib.SubClass4()..method();
|
|
}
|