blob: 1b16cd79b852a53d1971ec5f07c59cf56919bf32 [file] [log] [blame]
# Copyright (c) 2024, 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
worlds:
- entry: main.dart
sources:
main.dart: |
import 'lib1.dart';
void method(Typedef t, Enum e, Mixin m, NamedMixinApplication a) {}
lib1.dart: |
export 'lib2.dart';
lib2.dart: |
typedef Typedef = int;
enum Enum { a, b }
mixin Mixin {}
class NamedMixinApplication = Object with Mixin;
expectedLibraryCount: 3
- entry: main.dart
expectInitializeFromDill: false
worldType: updated
invalidate: [main.dart, lib2.dart]
sources:
main.dart: |
import 'lib1.dart';
void method(Typedef t, Enum e, Mixin m, NamedMixinApplication a) {}
lib2.dart: |
typedef Typedef = int;
enum Enum { a, b }
mixin Mixin {}
class NamedMixinApplication = Object with Mixin;
expectedLibraryCount: 3
advancedInvalidation: bodiesOnly