Files
sdk/pkg/front_end/testcases/extensions/multi_export.dart
T
Johnni Winther 6567ad63ce [cfe] Handle extensions in Scope.merge
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>
2021-09-10 10:45:37 +00:00

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();
}