blob: 99c427b8449e7e51efb79c38f963d69e3b82709c [file] [log] [blame]
# 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.md file.
# Test extension on String from import from dill.
type: newworld
worlds:
- entry: main.dart
sources:
main.dart: |
import "lib.dart";
typedef Bar = Foo;
main() {
print("hello");
}
lib.dart: |
typedef Foo = R Function<R>(R Function() f);
expectedLibraryCount: 2
- entry: main.dart
invalidate:
- main.dart
sources:
main.dart: |
import "lib.dart";
typedef Bar = Foo;
main() {
print("hello $Bar");
}
expectedLibraryCount: 2
advancedInvalidation: bodiesOnly