blob: 76b6754a093624630da0cc8ae04866e7b657b4e7 [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
useExperimentalInvalidation: true
sources:
main.dart: |
class A extends Object with B {
foo() {}
}
class B {
bar() {}
}
expectedLibraryCount: 1
- entry: main.dart
useExperimentalInvalidation: true
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
sources:
main.dart: |
class A extends Object with B {
foo() {}
}
class B {
bar() {}
}
expectedLibraryCount: 1
expectsRebuildBodiesOnly: true