Files
sdk/pkg/front_end/testcases/expression/prefixed_import.expression.yaml
Jens Johansen c7bce42b19 [CFE] Fix expression compilation with extension methods imported via prefix
Fixes https://github.com/dart-lang/sdk/issues/56554

Change-Id: I060a76cc3d3bb946283eff17c8feb93f136a8d8f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389100
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2024-10-09 11:40:50 +00:00

23 lines
500 B
YAML

# Copyright (c) 2024, 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.
entry_point: a1.dart
sources:
a1.dart: |
import 'a2.dart' as ext;
void stopHere() {
ext.foo();
}
a2.dart: |
void foo() {}
definitions: []
definition_types: []
type_definitions: []
type_bounds: []
type_defaults: []
method: "stopHere"
expression: |
ext.foo()