blob: 06c5f68057fa49ce6bd3210734c306e952a666c7 [file] [log] [blame]
# Copyright (c) 2019, 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.
type: newworld
omitPlatform: false
worlds:
- entry: main.dart
errors: false
warnings: false
sources:
main.dart: |
// @dart=2.9
main() {
foo();
}
foo() {}
expectedLibraryCount: 1
expectsPlatform: true
- entry: main.dart
errors: true
warnings: false
expectInitializeFromDill: false
fromComponent: true
invalidate:
- main.dart
sources:
main.dart: |
// @dart=2.9
main() {
await foo();
}
foo() {}
expectedLibraryCount: 1
expectsPlatform: true