blob: 17f853844922400c1aa197a15d708c3707d6e02f [file] [log] [blame]
# Copyright (c) 2019, 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.
# Compile an application, change a file, but don't change the outline.
# Mixin something from the same file.
type: newworld
worlds:
- entry: main.dart
experiments: alternative-invalidation-strategy
sources:
main.dart: |
// @dart=2.9
class A extends Object with B {
foo() {}
}
class B {
bar() {}
}
expectedLibraryCount: 1
- entry: main.dart
experiments: alternative-invalidation-strategy
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
sources:
main.dart: |
// @dart=2.9
class A extends Object with B {
foo() {}
}
class B {
bar() {}
}
expectedLibraryCount: 1
expectsRebuildBodiesOnly: true