357e83e44d
Change-Id: I747151249330ed3c9c1026289be52d5ca0dca891 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185600 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
33 lines
1.1 KiB
YAML
33 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.
|
|
|
|
# This is not actually an incremental compiler test as much as a compiler test.
|
|
# Test what happens when running a package file as strong NNBD (and it's marked
|
|
# with a matching language version) in a package that's with a lower language
|
|
# version (nothing should really happen --- it should just work).
|
|
# See https://github.com/dart-lang/sdk/issues/42323.
|
|
|
|
type: newworld
|
|
worlds:
|
|
- entry: bin/runMe.dart
|
|
experiments: non-nullable
|
|
nnbdMode: strong
|
|
enableStringReplacement: true
|
|
sources:
|
|
.dart_tool/package_config.json: |
|
|
{
|
|
"configVersion": 2,
|
|
"packages": [
|
|
{
|
|
"name": "issue42323",
|
|
"rootUri": "../",
|
|
"packageUri": "lib/",
|
|
"languageVersion": "2.8"
|
|
}
|
|
]
|
|
}
|
|
bin/runMe.dart: |
|
|
// @dart = %NNBD_VERSION_MARKER%
|
|
main() {}
|
|
expectedLibraryCount: 1 |