Files
sdk/pkg/front_end/testcases/incremental/issue_44523.yaml
T
Johnni Winther 357e83e44d [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite)
Change-Id: I747151249330ed3c9c1026289be52d5ca0dca891
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185600
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-02-19 08:41:07 +00:00

45 lines
1.3 KiB
YAML

# 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.
# Reproduce a crash.
type: newworld
worlds:
- entry: app/main.dart
experiments: alternative-invalidation-strategy
sources:
app/.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "flutter",
"rootUri": "../../flutter",
"languageVersion": "2.12"
}
]
}
app/main.dart: |
import "package:flutter/lib1.dart";
class _Bar extends RestorableProperty {}
flutter/lib1.dart: |
import "lib2.dart";
abstract class RestorableProperty extends ChangeNotifier {
bool _debugAssertNotDisposed() { return true; }
}
flutter/lib2.dart: |
class ChangeNotifier {
bool _debugAssertNotDisposed() { return true; }
}
expectedLibraryCount: 3
- entry: app/main.dart
experiments: alternative-invalidation-strategy
worldType: updated
expectInitializeFromDill: false
invalidate:
- app/main.dart
expectedLibraryCount: 3
expectsRebuildBodiesOnly: true