9e8fdef17c
Closes https://github.com/dart-lang/sdk/pull/63011 GitOrigin-RevId: 926534c2f5d3cd1e9629cf25f6b028ab34c00e64 Change-Id: I88460a060faabeae8f611e88f23b2eb5fc99f21a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491702 Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
52 lines
1.4 KiB
YAML
52 lines
1.4 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 file.
|
|
|
|
type: newworld
|
|
target: dartdevc
|
|
trackCreationLocations: true
|
|
worlds:
|
|
- entry: main.dart
|
|
sources:
|
|
main.dart: |
|
|
import 'package:flutter/src/widgets/framework.dart';
|
|
flutter/lib/src/widgets/framework.dart: |
|
|
abstract class Bar {
|
|
const Bar();
|
|
}
|
|
abstract class Widget extends Bar {
|
|
const Widget();
|
|
}
|
|
class Key {}
|
|
class StatefulWidget extends Widget {
|
|
final Key? key;
|
|
|
|
const StatefulWidget({this.key});
|
|
}
|
|
.dart_tool/package_config.json: |
|
|
{
|
|
"configVersion": 2,
|
|
"packages": [
|
|
{
|
|
"name": "flutter",
|
|
"rootUri": "../flutter",
|
|
"packageUri": "lib/"
|
|
}
|
|
]
|
|
}
|
|
expectedLibraryCount: 2
|
|
|
|
- entry: main.dart
|
|
worldType: updated
|
|
invalidate:
|
|
- main.dart
|
|
expectInitializeFromDill: false
|
|
sources:
|
|
main.dart: |
|
|
import 'package:flutter/src/widgets/framework.dart';
|
|
class GalleryApp extends StatefulWidget {
|
|
const GalleryApp({super.key});
|
|
}
|
|
expectedLibraryCount: 2
|
|
advancedInvalidation: outlineChange
|