blob: 27097d3aad6e366c15f838f28838dbb336171863 [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
experiments: alternative-invalidation-strategy
sources:
main.dart: |
extension E on String {
external int field;
}
main() {
"foo".field = "bar".field;
}
expectedLibraryCount: 1
- entry: main.dart
experiments: alternative-invalidation-strategy
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
sources:
main.dart: |
extension E on String {
external int field;
}
main() {
"foo".field = "bar".field;
}
expectedLibraryCount: 1
expectsRebuildBodiesOnly: true