blob: a91a0c1d321f3982669510b9294cafb464ced08d [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.
# Reproduce a crash.
type: newworld
worlds:
- entry: main.dart
useExperimentalInvalidation: true
sources:
main.dart: |
import 'file2.dart';
class A extends B implements C {}
file1.dart: |
class D {
D parent;
}
file2.dart: |
import 'file1.dart';
abstract class C implements D {}
class B extends D {
D parent;
}
expectedLibraryCount: 3
- entry: main.dart
useExperimentalInvalidation: true
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 3
expectsRebuildBodiesOnly: true
- entry: main.dart
useExperimentalInvalidation: true
worldType: updated
expectInitializeFromDill: false
invalidate:
- file1.dart
expectedLibraryCount: 3
expectsRebuildBodiesOnly: true
- entry: main.dart
useExperimentalInvalidation: true
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 3
expectsRebuildBodiesOnly: true