blob: fffb2266ce6b6259b1b3574e19261d0758760d77 [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: main.dart
warnings: false
checkEntries: false
sources:
.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "foo",
"rootUri": ".."
}
]
}
main.dart: |
part of 'lib.dart';
partMethod() {}
lib.dart: |
part 'main.dart';
main() {}
expectedLibraryCount: 1
- entry: main.dart
warnings: false
checkEntries: false
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 1
advancedInvalidation: bodiesOnly
- entry: main.dart
warnings: false
checkEntries: false
worldType: updated
expectInitializeFromDill: false
invalidate:
- lib.dart
expectedLibraryCount: 1
advancedInvalidation: bodiesOnly