blob: 03f5018ffac734a132e8f078f2b21e26ef2a7a34 [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.
# Extension methods.
type: newworld
worlds:
- entry: main.dart
experiments: alternative-invalidation-strategy,non-nullable
sources:
main.dart: |
late final int x = 42;
extension Foo on int {
void x() { /*content =)*/ }
}
expectedLibraryCount: 1
- entry: main.dart
experiments: alternative-invalidation-strategy
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 1
expectsRebuildBodiesOnly: true