blob: 0a6eab02d5e8ff80c079b6d774da58a3e3ad60e4 [file] [log] [blame]
# Copyright (c) 2020, 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
experiments: alternative-invalidation-strategy
errors: true
sources:
main.dart: |
// @dart=2.9
part 'lib.dart';
main() {}
lib.dart: |
// @dart=2.9
methodFromLib() {}
expectedLibraryCount: 2
- entry: main.dart
experiments: alternative-invalidation-strategy
errors: true
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 2
- entry: main.dart
experiments: alternative-invalidation-strategy
errors: true
worldType: updated
expectInitializeFromDill: false
invalidate:
- lib.dart
expectedLibraryCount: 2