blob: 9810036ccd1ccca90f05c80c35a5fc077fabdac2 [file] [log] [blame]
# 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.md file.
type: newworld
worlds:
- entry: package:foo/main.dart
checkEntries: false
sources:
.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "foo",
"rootUri": ".."
}
]
}
main.dart: |
// @dart=2.9
part of 'lib.dart';
partMethod() {}
lib.dart: |
// @dart=2.9
part 'main.dart';
main() {}
expectedLibraryCount: 1
- entry: package:foo/main.dart
checkEntries: false
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 1
- entry: package:foo/main.dart
checkEntries: false
worldType: updated
expectInitializeFromDill: false
invalidate:
- lib.dart
expectedLibraryCount: 1