Files
sdk/pkg/front_end/testcases/incremental/crash_01.yaml
T
Jens Johansen 9d5f3187ad [CFE] Crash reproductions
Change-Id: Iddf58c3af16fd56aa7cc9bd1a988ec45a4a042a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175243
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2021-03-24 13:45:31 +00:00

34 lines
1.1 KiB
YAML

# 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
trackWidgetCreation: true
target: DDC # basically needed for widget creation to be run
worlds:
- entry: app/main.dart
sources:
.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "flutter",
"rootUri": "../flutter",
"languageVersion": "2.12"
}
]
}
app/main.dart: |
import "package:flutter/src/cupertino/interface_level.dart";
flutter/src/widgets/framework.dart: |
abstract class Widget {}
abstract class ProxyWidget extends Widget {}
abstract class InheritedWidget extends ProxyWidget {}
flutter/src/cupertino/interface_level.dart: |
import '../widgets/framework.dart';
class CupertinoUserInterfaceLevel extends InheritedWidget {}
expectedLibraryCount: 3