-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ddc] Add language version to test files
Avoids breaks that appear when enabling the `nnbd` experiment by default as seen in: https://dart-review.googlesource.com/c/sdk/+/166790 Some of these synthetic files are created as packages but the expression compiler wasn't designed to handle that information. In the future we should support language versioning better in the expression compiler or setup similar tests for opted in code since in reality the language versioning might be handled by the dev build system. Fixes: dart-lang/sdk#43843 Change-Id: Icfac40d1c9b47e75fb92d7672700e066ac372267 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168441 Reviewed-by: Anna Gringauze <annagrin@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters