Files
sdk/pkg/front_end/testcases/extensions/multi_export_lib.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

10 lines
293 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.
class Class {}
extension Extension<T extends Class> on T {
method() {}
}